+ 3
Explain About Classes in C#
I am learning C# and stuck in creating own Classes section can anyone read my code below which I copied from google and explain me very very easily about how to create a class in C# please I am stuck here so hard. https://code.sololearn.com/c2cw9kAhjYkH/?ref=app https://code.sololearn.com/c2cw9kAhjYkH/?ref=app
4 Respostas
+ 1
I added comments to the code. Take a look and return with any questions:
https://code.sololearn.com/c9CuJInyL7Ar/#cs
+ 2
Thanks once again I have saved your code as a backup to read everytime if I forget about this. You expalin so perfectly.
+ 1
You can also make functions based on variables, those need to return something.
I made a code snippet with comments, which hopefully explains it properly:
https://code.sololearn.com/c6SY8XOFO80M/#cs
0
Thanks you so much it really helped me alot. Now I am clear with this topic of creating class. only one question I want ask is what does it means that "void" does not return any value. which value they are saying?