+ 1

Can anyone please give an example where do we use classes in c#?

17th Aug 2020, 7:25 AM
Abaan Ahmed
Abaan Ahmed - avatar
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).
17th Aug 2020, 8:55 AM
sneeze
sneeze - avatar
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.
17th Aug 2020, 8:37 AM
Jiƙí Zboƙil (ZboraCZ)
Jiƙí Zboƙil (ZboraCZ) - avatar