Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
3
Reply
What is Nullable Types in C#?
Vivek Kumar
9y
458
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Value types can not store the null values,nullable feature added in c#2.0.now onwords we can able to add null values to value types. ex: int x=null; \\invalid int? x = null; \\ valid
Samatha Reddy
8y
1
mostly value types cannot be assigned as null.(Eg:int a =null) To break this c# implemented null-able types so that we can assign value types as null.(Eg : int? a) this specifies a might be null
Ayappan Alagesan
8y
0
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? a= null;
Vivek Kumar
9y
0
Why to use “using” in C#?
What is the difference between “as” and “is” operators in C#?
Message