Longest & Shortest Types in .NET
Junfeng Zhang asks what is the longest class name in .NET. I threw together a quick little .NET class digger and found that:
From the assemblies located at: “..\v1.1.4322\System*.dll"
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Windows.Forms.dll
Contains the type:
UpDownBase+UpDownButtons+UpDownButtonsAccessibleObject+DirectionButtonAccessibleObject
which is 86 characters long.
The shortest:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Design.dll
Contains:
System.Design.SR
which is, of course, a length of 2
EDIT:
To add, the longest PUBLIC class is:
System.Windows.Forms.IDataGridColumnStyleEditingNotificationService
with a length of 46