Hello everyone!
How would i convert this string from a string to an int using C#?
private string currentHour = System.DateTime.Now.ToString("hh");
i have so much to learn
Thanks guys
Hello everyone!
How would i convert this string from a string to an int using C#?
private string currentHour = System.DateTime.Now.ToString("hh");
i have so much to learn
Thanks guys
Ah figgured it out myself,
private int xc = System.Int32.Parse("123456789");
Thanks for your help!