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 / shihafath wazeer

correct declaration for a nullable integer is as follows

Nullable<int> i = null;

or

int? j = null;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About friend and Protected friend

897


What are different types of classes in c#?

893


Explain how do you directly call a native function exported from a dll?

908


What are the different types of constructors in c#?

1129


What is c# and why it is used for?

947


What is difference between yielding and sleeping?

878


Can we have two main methods in c#?

956


Can extension methods access private members?

899


Define delay signing?

925


How to properly clean up excel interop objects?

928


What is an escape sequence?

923


What are PE(Portable Executable)?

1037


What is serializable in c#?

906


How do you specify a custom attribute for the entire assembly?

957


How does dictionary work in c#?

872