Reputation: 8625
Are the two the same thing or ?
Upvotes: 2
Views: 2985
Reputation: 14057
No.
C# is a language.
ASP.Net is a Framework for building Web Applications. Which is a set of classes/methods than can speed up development and you would use C# to access these classes and call those methods.
You could use ASP.Net with C# or Visual Basic. You can also use C# without ASP.Net.
Upvotes: 12
Reputation: 12092
ASP.NET is a framework (with libraries and a bunch of controls) related to web applications and web sites. C# is one of the languages to use within the ASP.NET framework.
Similarly, you can use different languages, like C# or VB.NET for WinForms development. Same idea for ASP.NET.
Upvotes: 3