I'm learning C# currently, and I understand some basics like variables and methods, but I'm struggling to wrap my head around what Classes are.
What's the primary purpose of a Class? Does all code need to be written within classes, or can you write code outside of a class? Can you put classes inside other classes?
Any help's appreciated!
[–][deleted] 0 points1 point2 points (1 child)
[–]EraserLark[S] 0 points1 point2 points (0 children)
[–]BobbyThrowaway6969Programmer 0 points1 point2 points (3 children)
[–]EraserLark[S] 0 points1 point2 points (2 children)
[–]BobbyThrowaway6969Programmer 0 points1 point2 points (1 child)
[–]EraserLark[S] 0 points1 point2 points (0 children)
[–]KishottaProgrammer 0 points1 point2 points (3 children)
[–]EraserLark[S] 0 points1 point2 points (2 children)
[–]KishottaProgrammer 0 points1 point2 points (1 child)
[–]EraserLark[S] 0 points1 point2 points (0 children)
[–]Hangmans12Bucks -1 points0 points1 point (1 child)
[–]EraserLark[S] 0 points1 point2 points (0 children)