3
Reply

what is a primitive type in C#

    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

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