[英]What's the relationship between c# and asp.net?
两者是一样的还是?
No. 没有。
C# is a language . C#是一种语言 。
ASP.Net is a Framework for building Web Applications. ASP.Net是一个用于构建Web应用程序的框架 。 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. 哪一类/方法比加速开发更快,您可以使用C#访问这些类并调用这些方法。
You could use ASP.Net with C# or Visual Basic. 您可以将ASP.Net与C#或Visual Basic一起使用。 You can also use C# without ASP.Net. 您也可以在没有ASP.Net的情况下使用C#。
ASP.NET is a framework (with libraries and a bunch of controls) related to web applications and web sites. ASP.NET是一个与Web应用程序和Web站点相关的框架(包含库和一组控件)。 C# is one of the languages to use within the ASP.NET framework. C#是ASP.NET框架中使用的语言之一。
Similarly, you can use different languages, like C# or VB.NET for WinForms development. 同样,您可以使用不同的语言,如C#或VB.NET进行WinForms开发。 Same idea for ASP.NET. ASP.NET的相同想法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.