How to handle null values in C#. When I am entering characters in a char array i want to leave some values blank or empty (null). But when i do that my program terminates giving me an error. The error is shown in the pic below. What should i do to handle this exception. Please help!!!!
Mariann
0
Newbie Poster
Recommended Answers
Jump to PostShowing your code would be more helpful than just the output.
All 4 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Mariann
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.