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

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

2 Answers  


Write a program to count the number of characters, number of words, number of line in file.

2 Answers   Mind Tree,


"c sharp" code for factorial using static variables

9 Answers  


c# code to Count number of 1's in a given range of integer (0 to n)

0 Answers  


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

4 Answers   Wipro,


. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $

3 Answers  


Coding for using Nullable Types in C#?

1 Answers  


Code for Reading and writing from a file?

0 Answers   IBM, Xoriant,


write a Program to copy the string using switch case.

0 Answers   Mind Tree, Wipro,


How to pass multiple rows from one gridview to another gridview after clicking the checkbox.

1 Answers   Satyam,


Coding for Manipulate XML File Data Using C#?

1 Answers  


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

0 Answers   Eastcom Systems,


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)