C#是纯粹的哎呀. [英] C# is pure oops..

查看:66
本文介绍了C#是纯粹的哎呀.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:) C#是100%纯OOP吗?
可以用示例来解释.

:) Is C# 100% pure OOP?
Can please explain with example.

推荐答案

C#完全是OOP,但不是完全OOP.
首先,它是完全面向对象的,因为一切都是对象. C#不会像Java中那样区分原始类型和对象类型.因此,int是对象,而不是原始类型.其次,它不是纯粹的OOP,因为它具有正确属于过程语言的功能,例如函数指针.
C# is fully OOP but is not PURELY OOP.
First, it''s fully OOP because everything are objects. C# does not differentiate between primitive types and object types like in Java. Hence, int is an object, not a primitive type. Second, it''s not purely OOP because it has features that rightly belong to procedural languages such as function pointers.


请参阅

我想是的.

C#现在是纯OOPS.
I guess so.

C# is pure OOPS now.


这篇关于C#是纯粹的哎呀.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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