Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can we assign null value to value type in c#?

Answer Posted / anirudh

YES. WE CAN !!!


use this:

int? var_x = null;

Is This Answer Correct ?    34 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a dictionary in c#?

941


What is the use of system.environment class in c#.net?

1017


How do I create a multi language, multi file assembly?

1120


What are the steps to create an assembly and add it to the gac?

936


What is the purpose of namespace?

924


Explain the types of errors in c#?

954


Is 0 an unsigned integer?

950


Can we inherit singleton class in c#?

933


Which language is used for desktop application?

1002


In dynamic link library, which api is used for load library?

1036


Where do I put dll files?

1052


What's difference between constants and static readonly?

1262


What is the default value of string in c#?

1054


Are c# strings immutable?

945


What is void in c#?

988