I'm new to C# and programming.
I tried everything but I'm too stupid to convert the string "password" to an int. This is my failing code:
namespace idk
{
public static class Program
{
public static void Main()
{
var password = Console.ReadLine();
int gues = 0;
do
{
gues = gues + 1;
} while (gues == password);
Console.WriteLine("done");
}
}
}