Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Answers
Unassigned Local Variable
iswarya chandran
11y
979
1
Reply
Is it possible to check the unassigned local variable with if condition??
for eg;
string name;
try
{
name= (string)Session["user"];
}
catch {}
if(name==null)
{
//code we want
}
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
how to write C# code for silde show
error in binding combobox?