3
Reply

what is a primitive type in C#

Palle Technologies

Palle Technologies

Jan 15, 2014
5.1k
0

    all data types are treat as Primitive data types...........

    primitive type is a data type in c# language which is understandable by the C# compiler . in C# int , string , float etc... data types are considered as primitive types . during compilation usually primitive types are converted into MSIL types.
    Ex: if you write int x=20 ; in C# language during compilation the code is converted as shown below .
    Int32 x=20;
    Note: Int32 is MSIL equivalent for int primitive type . question copied from below weblink .
    c# interview questions and answers

    Palle Technologies
    January 15, 2014
    1

    Check the below links http://msdn.microsoft.com/en-us/library/aa711900(v=vs.71).aspx http://mylazycode.com/primitive-data-types/

    Princy Gupta
    May 08, 2014
    0