Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is Nullable Types in C#?
Home
C Sharp
What is Nullable Types in C#?
0
votes
asked
Oct 18, 2019
in
C Sharp
by
Robin
What is Nullable Types in C#?
c#-nullable
nullable-in-c#
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 18, 2019
by
rajeshsharma
Variable types does not hold null values so to hold the null values we have to use nullable types. So nullable types can have values either null or other values as well.
Eg: Int? mynullablevar = null;
Related questions
0
votes
Q: Why to use “Nullable Coalescing Operator” (??) in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
c#-nullable
nullable-in-c#
0
votes
Q: Null-coalescing assignment in C#
asked
Dec 8, 2019
in
Dot Net
by
Sinaya
c#-nullable
nullable-in-c#
0
votes
Q: Nullable reference types in C#
asked
Dec 8, 2019
in
Dot Net
by
Sinaya
0
votes
Q: what variable types can be assigned a value directly in C#?
asked
Jun 16, 2020
in
C Sharp
by
Hodge
#csharp
0
votes
Q: What are the different types of constructors in C#?
asked
May 6, 2020
in
C Sharp
by
SakshiSharma
#constructor-types
#c-sharp-constructor-types
0
votes
Q: What are the collection types can be used in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
collection-types
0
votes
Q: Which are the loop types available in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
loop-types
c#-loop-type
0
votes
Q: What are the three types of Generic delegates in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
generic-delegates-in-c#
generic-delegates
0
votes
Q: What are the types of delegates in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
delegates-in-c#
0
votes
Q: What are reference types in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
c#-reference-types
reference-types-c#
...