✅ confused about classes
I'm watching brackeys and he's talking about referencing a class but it doesn't make sense to me, he didn't call it and even if he did, why? Is random number generator some sort of class? Like I don't get it at all
classClass MainClass
{
Public static void Main ()
{
Random numberGenerator = new Random();
int num01 = numberGenerator.Next(1,11);
int num02 = numberGenerator.Next(1,11);
Console.WriteLine (num01 "and" num02);
Console.ReadKey();
}
}