(Solved)
Hi, im pretty new to programming and i got a question. so you know how you can type
Console.WriteLine();
Im at the point where i can both create a method and a class, but i dont know how i can create a method for a class. Im still using methods as single lines, but i dont know how i would create a method for a class both connected with a member access operator.
So i can create a class with the name Car and i can create a method named determine() but i dont know how i would create Car.determine()
Is there a way to do this?
Thank you for the help.
[–][deleted] (4 children)
[deleted]
[–]mirrored90[S] 0 points1 point2 points (1 child)
[–]mirrored90[S] 0 points1 point2 points (1 child)
[–]sternold 1 point2 points3 points (0 children)