TYPES IN C#

Total Post:0

Points:0
C# 
C#
 201  View(s)
Ratings:
Rate this:
  1. Post:123

    Points:615
    Types in C#

    In c# types are divided ino 2 broad categories

    Value types- int,float,double,structs,enums etc

    Reference types=interface Class delegates arrays etc

    By default value types are no nullable .To make them nullable use?

    Int=0( I is non nullable so I cannot be set to null i=null will generate compiler error

    Int ? j=o(j is of nullable int so j=null is leagal


Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!