0

How will you know in C# when to use "parse"

C#,parse

18th Mar 2022, 3:04 AM
swan angel
3 Answers
0
Alright, I understood when you can't assign an integer to a string. For example, int num = "25" Then you have to use int num = int.parse ("25").
18th Mar 2022, 3:16 AM
swan angel
+ 2
By understanding its purpose.
18th Mar 2022, 3:09 AM
Simon Sauter
Simon Sauter - avatar
+ 1
Parse is like a convert way!
18th Mar 2022, 3:23 AM
swan angel