Conversion from string to integer
C#
3
Posts
3
Posters
0
Views
1
Watching
-
Hi to all I want to convert string of numbers to integer without using any in built functions like convert or parse for ex "666"=666
-
Hi to all I want to convert string of numbers to integer without using any in built functions like convert or parse for ex "666"=666
-
How else would you do that, then? :wtf: What's wrong with Convert.ToInt16("666") or int.Parse("666")? Why 666?
Convert.ToInt16("666") Will not convert to an integer, but to a short. You can also use Int32.Parse("666"). It this is hell (666), then imagine the rest X|