+ 1
What is the use of struct in C#?
Struct is a value type and i have seen the syntax of it. I just want to know where do we actually use structs witu real life example.
2 Réponses
+ 2
Only when we needed primitive logic and used like parameter in many ours methods
same sort of simple records which needed users logic (here user is you)