Hi Friends
What is NullPointerException and how to handle it?
NullPointerException
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
R ACHUTHA181 reputationPosted Oct 4, 2012, 2:54 AM EDT
http://www.dotnetperls.com/nullreferenceexception
ashok reddy6 reputationPosted Oct 4, 2012, 4:26 AM EDT
public static decimal ConvertToDecimal(string Value) { decimal id = 0; decimal.TryParse(Value, out id); return id; }