Here is a list of aliases in C # (compliments What is the difference between a string and a string in C #? ):
object: System.Object string: System.String bool: System.Boolean byte: System.Byte sbyte: System.SByte short: System.Int16 ushort: System.UInt16 int: System.Int32 uint: System.UInt32 long: System.Int64 ulong: System.UInt64 float: System.Single double: System.Double decimal: System.Decimal char: System.Char
I see that bool through char is lowercase aliases because they are primitive types.
Why are objects and strings not capitalized because they are complex types? Is this supervision by developers, or is there a necessary reason for them to be lowercase? Or is it a stubborn question?
You end up with things like string.Format() instead of string.Format() that just look scared and make me think that string is a variable.
source share