两者是一样的还是?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.