What's the relationship between c# and asp.net?
Are the two the same thing or ?开发者_如何转开发
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.
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.
精彩评论