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
priya pyramid
NA
1
2k
Hi I have a doubt in c#, please help
Sep 12 2012 5:49 AM
Hi,
I have an int variable aaa with the value 100. 100 corresponds to "d" in ASCII.
I want to assign this to a string variable abc so that abc has the value "d" and not 100.
How can I do this?
when I give the below code, I get the error error CS0029: Cannot implicitly convert type 'int' to 'string'
int aaa = 100;
string abc = bbb;
but when I do abc = bbb.ToString(), I see that abc becomes "100". But I want abc to become "d".
How can I do this?
Reply
Answers (
1
)
how to save record chat history in openfire use agsxmpp
Add a ReadOnly property in C#.NET