[newbie] list of static methods

N

Nikola Skoric

Hello all,

How do I convert string to int? Say, I have "123", how do I convert it
to 123? What I need is something like atoi() function in C.

Next, is there built in function for converting numbers from one base to
another (for instance, dec to bin)?

And, where can I find a list of all static methods? I use MS Visual
Studio .NET, I presume that it has a list of all C# static methods
sorted in some kind of way, but I can't find it...

And, speaking of VS, how do I remove project from projects tab on start
page?
 
L

Lawrence Oluyede

Nikola Skoric said:
How do I convert string to int? Say, I have "123", how do I convert it
to 123? What I need is something like atoi() function in C.

int number = System.Convert.ToInt32("123")
Take a look at System.Convert as a whole
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top