As a programmer we always define variable of different types, as .NET is multi paradigm framework and various language which follows MSIL (Microsoft Intermediate language) have interoperability feature and follows CTS (Common type system) and have common base classes, and same base classes are applicable for language like C#, F#, and VB.NET

As we see in the program below, there way of mentioning variable type, first is using upper case and that is more specific to CTS way of defining type

Second approach is recommended for declaring variable type in C#, it is alias for the CTS types and it is better from readability perspective and as per Microsoft coding guidelines

--

--

Mohammad Shoeb
C# Programming

Solution Architect (Full stack dev — React, Angular, .NET)