c#和.net框架中的数据类型有什么不同? [英] what is the different between data type in c# and in .net framework ?
本文介绍了c#和.net框架中的数据类型有什么不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
c#和.net框架中的数据类型有什么不同?
谁可以使用??
解决方案
你的问题没有任何意义,因为C#中的所有数据类型都来自.NET Framework。 C#可能有别名,例如 string
(C#)= System.String(.NET),但它们之间没有任何区别。
< br>
在当前的问题上下文中:
c#和.net框架中的数据类型
C#是一种语言,.NET是一种框架。
DataTyes是语言而不是框架。
正如Dave所说, C#数据类型是.NET类型的别名。
这两个是不可分割的。例如,int
类型只是System.Int32
的别名,它来自System.ValueType
。
基于以上,无需比较。根据您的应用需要,使用C#任何数据类型。
请访问以下网址
你会得到你需要的东西
字段类型字段-DOTNET-C-夏普
Hii,everyone i''m beginner
what is the different between data type in c# and in .net framework ??
who can i used??
解决方案
Your question doesn''t make any sense as all the datatypes in C# come from the .NET Framework. C# may have aliases for them, such as string
(C#) = System.String (.NET), but there are no differences between them at all.
In current question context:
data type in c# and in .net framework
C# is a language and .NET a framework.
DataTyes are in language and not in framework.
As Dave shared, C# datatypes are aliases for .NET types.
The two are not seperable. For example, theint
type is merely an alias forSystem.Int32
, which derives fromSystem.ValueType
.
Based on above, nothing to compare. UseC#any datatype as per your application need.
kindly visit following URL
you ll get what you need
DataType-Dotnet-C-Sharp
这篇关于c#和.net框架中的数据类型有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文