someone pls explain 'parse ' method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

someone pls explain 'parse ' method

how to use it in a simple program

31st Jul 2016, 4:48 AM
Mystic Ash
Mystic Ash - avatar
2 Answers
+ 1
parse lets you get numbers from a string, if you have the string "46763" and parse it, you will get an int with the value 46763
31st Jul 2016, 11:28 AM
madnessbox
+ 1
parse is similar to convert. parse can also be used in other operations like in Web api when you need to parse json.
31st Jul 2016, 12:18 PM
Mike
Mike - avatar