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

How do I register my code for use by classic com clients?

850


What is difference between abstract class and interface in c#?

898


What is difference between abstraction and encapsulation in c#?

954


What is the root element of an xml file?

829


what is c# command?

939


What is list collection in c#?

923


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

848


Do we get an error while executing the “finally” block in c#?

894


What is use of abstract class in c#?

890


What is the default modifier for class in c#?

926


What are anonymous types in c#?

850


What are the features of c#?

878


Explain About remoting and web services. Difference between them

915


What does type safety mean?

1016


What is delegates and events?

875