Where is .class files are used ?
In C#.net or ASP.net or in VB.net or only in Windows applications or only in web applications or in only console applications
Where is .class files are used ?
In C#.net or ASP.net or in VB.net or only in Windows applications or only in web applications or in only console applications
They are compiled Java classes.
Typically, they are not used in C# or VB.
What you are calling a "class file" is just a file containing a class. Your real question is "what are classes used for".
You will need to learn object-oriented programming to understand the answer. The answer is - they're used for everything.
And, you're not seeing ".class" files. You're seeing .cs files or .vb files, which happen to contain a class.