Coding for using Nullable Types in C#?



Coding for using Nullable Types in C#?..

Answer / sabina

int? ii = null;
Console.Write(ii.HasValue);

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Sharp Code Interview Questions

Code for Searching for Multiple Matches with the MatchCollection Class?

0 Answers   TCS,


write a Program to copy the string using switch case.

0 Answers   Mind Tree, Wipro,


how can i split sting in textbox in windows application using c# .net

2 Answers  


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

0 Answers   Eastcom Systems,


how do i copy textbox contents of 1 form to another form

4 Answers   Wipro,






Code for Reading and writing from a file in c#?

1 Answers  


how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)

1 Answers  


program to reverse the order of words in a string.

2 Answers   Mind Tree,


I am developing a web application using google map api.I want to update the map inside the div control within update panel. I got other controls updated but map doesn't get updated.I do not not want to update map whenever unnecessary controls are fired at server side.How could it be achieved?

0 Answers  


Code for Working with Files under a Directory?

1 Answers  


program to check if a number is "perfect number".

1 Answers   Mind Tree, SoftSol,


IS Array list is generic or non generic

1 Answers  


Categories
  • ASP.NET Code Interview Questions ASP.NET Code (46)
  • VB.NET Code Interview Questions VB.NET Code (9)
  • C Sharp Code Interview Questions C Sharp Code (51)
  • ADO.NET Code Interview Questions ADO.NET Code (8)