crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

What is the use of Nullable Type in c#
Question Posted on 03 May 2020Home >> DotNet >> C# >> What is the use of Nullable Type in c#

What is the use of Nullable Type in c#
I have tried to put null value in int but i got comiple time error. I have tried below syntax for that
int i=null
So overcome this issue c# introduce Nullable type in C# 2.0 version. From now we can assign null value to this types as gievn below example
Nullable < int> i = null;
In above we have define int with nullable data type here correct range values will also be applied plus additional null value.
for int range is -2147483648 to 2147483647 and null value also be possible.


Nullable Type
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Simplest definition of partial classes and its rules?

Definition of Tuple class with some examples?

Define Race Condition in cSharp?

C#.Net Reserve Words

can we inherit private class level variables in c#






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap