Java + (C ++)! = C #

xiaoxiao2021-03-06  36

I have been in my impression

C # Class C is based on a language design in Java language; today, look at the characteristics of C # today, and find that such awareness is quite false;

In order to facilitate to understand, we divide a computer language into three partial comparisons;

Basic grammar;

Organizational structure (object-oriented);

Specific function;

u These three languages ​​are very imagined in basic grammar structures;

ü C # and Java are very similar to object-oriented, throwing the keywords (inherited keywords, finalized keywords, etc.);

N-type,

n interface,

N deficiency,

N-type single inheritance,

None inheritance between N interface,

Multi-implementation between N-class and interfaces

It can be said that C # is simply moving the object-oriented characteristics of Java;

ü Special function; C # In order to keep C powerful functions, such as the value of the differential parameters, reference calls, etc., personal feelings, in order to retain the functional C # that the needle energy is provided; In fact, a non-pointer implementation of a function pointer; there is also a support for the type of time; can see a lot of changes in C #;

Personally, C # is integrated with the simple features of the Java-oriented partial and C powerful functions, and realizes a perfect language by means of .NET base library and universal language.

But I feel that she has walked C , the function is very much, strong; but did not give people a sense of feelings; the view of Java masters Java is a pleasant thing, because it is clear, there will be no too many Make people's function; C # makes unremitting efforts to maximize C ; but I think he is going to surpass the Java language and need to do more concise;

Let users complete certain features by using them, rather than supporting certain specific functions;

C # is a little sword to take a short!

转载请注明原文地址:https://www.9cbs.com/read-74114.html

New Post(0)