Universal Parse Primitive Type on C#

Posted by DreamWalker on Stack Overflow See other posts from Stack Overflow or by DreamWalker
Published on 2010-03-12T19:23:45Z Indexed on 2010/03/12 19:27 UTC
Read the original article Hit count: 369

Filed under:
|
|

I have string value and Type of some variable (For example int and "32" or bool and true). My type is primitive type. Can I parse string to my type in one line?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#