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
Prakash Tripathi
28
40.8k
6.3m
String comparison question
Feb 2 2014 1:31 PM
Can anyone explain that why Am I getting false in Line Number 5.
string a = "prakash";
string b = "p";
b += "rakash"; // Append to contents of 'b'
Console.WriteLine(a == b); //True
Console.WriteLine((object)a == (object)b); //False
Reply
Answers (
1
)
C# CODE generate courseid like 1001 1002.. without repeating
SnakeGame Help