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

How do you type a null character?

886


Explain circular reference in c#?

952


What is the difference between constants and read-only?

928


What is the main method in c#?

1092


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

1936


If you define a user defined data type by using the class keyword, is it a value type or reference type?

892


Is lazy t thread safe?

956


How many bits is int32?

968


How can you set image source dynamically from c# application to ”test.png” file?

1088


Expalin the way you implement inheritance by using VB.NET/C#?

976


Why c# is called type safe language?

844


What are custom exceptions? Why do we need them?

995


What is the difference between double and decimal in c#?

973


Explain the advantage of using system.text.stringbuilder over system.string?

893


What is difference between abstraction and encapsulation in c#?

1032