对象与对象之间的差异 [英] Difference between Object and object

查看:103
本文介绍了对象与对象之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
C#之间的&ldquo差异; System.Object的”的和“物体rdquo;的

您好:

在C#有对象和对象类型。他们似乎有相同的functionnality,所以两者有什么区别呢?

In C# there are Object and object types. They seem to have the same functionnality, so what is the difference between the two ?

推荐答案

有是没有的。 C#提供用于由CLR定义的原语的同义词。 System.String - >字符串,System.Int64 - >长,System.Object的 - >对象,等等

There is none. C# provides synonyms for the primitives defined by the CLR. System.String -> string, System.Int64 -> long, System.Object -> object, etc.

这篇关于对象与对象之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆