+ 1
Can anyone please give an example where do we use classes in c#?
2 Answers
+ 1
In c# for desktop development, I use classes all the time.
Every noun is a class.
A person is a class
A bankaccount is a class
A canvas is a class, and the shapes on the canvas are classes too.
By creating objects you can group characterstics, action and alarms (properties, methods and events).
0
This seems as a tricky question, not sure what you mean, but C# is used for example in Unity engine made for games development, which is based on its classes, or .NET web development uses them, but i am not sure here. It has many usages.