Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object December 2011 Entries
string.Format input string was not in a correct format
If you have a "{" or "}" inside a string when using string.format you will get the error mentioned in the title. To fix this you must double the charater. Error Example: string teste = string.Format(" This is a {teste} {0} ", mystring); Correct Example: string teste = string.Format(" This is a {{teste}} {0} ", mystring);v ......

Posted On Monday, December 19, 2011 9:46 AM

Copyright © Sglima | Powered by: GeeksWithBlogs.net | Join free