Friday, July 31, 2009

How do i convert a string to a an integer in C# without parsing?

I have to create a flowchart/pseudocode on how to convert an integer to a string and vi versa without using the .ToString() method and without parsing.

How do i convert a string to a an integer in C# without parsing?
Really? I don't understand how you could possibly convert a string to an integer without parsing it? The only thing I can think of is doing some wacky object creating, using overloaded constuctors? I have been developing for awhile, and would love to see the solution (or at least a brief expanation) when you get it. Will you email it to me when you find out? (I am emailable through YA) Thanks!


No comments:

Post a Comment