TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
diamond diamond
NA
133
55.4k
if List contains is null
Aug 25 2013 1:05 PM
Hi all,
If I want to say history list was null matrix [][] be 0, How could be written?
the code blew gives an error.
List <List<string> > history = new List <List<string>>() ;
int [][] matrix= new int[5][];
if (history[y].Contains("192.168.2.160", StringComparer.OrdinalIgnoreCase))
matrix[x+4][y] = 1;
else if (history[y].Contains==null)
matrix[x][y] = 0;
thanks
Reply
Answers (
9
)
Input, Save and Retrieve data from Sql in Marathi Language
how get email ID from the user and send email in C#