2009/09/04 08:03

How to convert integer to text string ?


C# provides an excellerent static instance can Convert various types. You can easily get the wanted reult by Convert Class. Because It's a static instance, you don't need to declare instance.

Following is the example to example to Convert from Integer to text string.

int a = 1024;
string b;

b = Convert.ToString(a);

Trackback 0 Comment 0

Trackback : Cannot send a trackbact to this post.