一个初学者的问题:与++相比,.net的优缺点是什么? [英] a pre-beginner's question: what is the pros and cons of .net, compared to ++

查看:58
本文介绍了一个初学者的问题:与++相比,.net的优缺点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个初学者之前的问题:

.net的优缺点是什么,与++相比

我想知道是什么如果我在学会了之后继续学习C#,我可以得到

C - > C ++ - > C#??


我认为必须有很多人知道这里的答案。


谢谢


BR

----------------

Lester

a pre-beginner''s question:
what is the pros and cons of .net, compared to ++

I am wondering what can I get if I continue to learn C# after I have learned
C --> C++ --> C# ??

I think there must be many know the answer here.

thanks

BR
----------------
Lester

推荐答案

莱斯特


简单回答一下,这是该语言发展的下一步,而不是

你问是和比什么?


编写更符合逻辑,但是因为所有的演变都存在一些遗留问题,但是用户也会使用以及

已改变,但这不是直接完成的。


我没有举例,因为这总是无休止的讨论。


Cor



" lester" <豪************** @ etang.com> schreef in bericht

新闻:e7 ****************** @ TK2MSFTNGP15.phx.gbl ...
Lester

Simply answer, it is a next step in the evolution of that language, and than
you ask "yes and than?

It is more logical to write, however as with all evolutions are there staid
some legacy, where the users are used too however could have been as well
changed however that is not done direct.

I give no examples because that goes always to endless discussions.

Cor


"lester" <ho**************@etang.com> schreef in bericht
news:e7******************@TK2MSFTNGP15.phx.gbl...
a pre-beginner'的问题:
.net的优点和缺点是什么,与++相比

我想知道如果我继续学习C#后能得到什么?
学习了
C - > C ++ - > C#??

我认为必须有很多人知道这里的答案。

感谢

BR
------ ----------
Lester
a pre-beginner''s question:
what is the pros and cons of .net, compared to ++

I am wondering what can I get if I continue to learn C# after I have
learned
C --> C++ --> C# ??

I think there must be many know the answer here.

thanks

BR
----------------
Lester



谢谢Cor,

也许我必须先学习一些关于.NET的abc才知道.NET是谁设计的。


关于C ++,我们应该说C ++真的让程序非常自然,简单,容易理解,易于维护...,而不是C.

关于C#我们应该说????


任何人都可以告诉你对.NET(特别是C#)的理解吗?


---------- -

Lester


" Cor Ligthert" <无************ @ planet.nl> D'è????¢D ???

:OP ************** @ TK2MSFTNGP09.phx.gbl ...
thank you Cor,
maybe I have to study some abc about .NET before I know for whom .NET is
designed.

about C++, we should say"C++ really makes program very natural, simple, easy
to understand, easy to maintain..., than C."
about C# we should say"????"

Anyone can tell your understanding of .NET(esp, C#) to me?

------------
Lester

"Cor Ligthert" <no************@planet.nl> D′è????¢D???
:OP**************@TK2MSFTNGP09.phx.gbl...
莱斯特

简单回答一下,这是语言演变的下一步,而且你要问的是b = b还是是和否?

它写作更符合逻辑,但是所有的演变都有
存在一些遗留物,用户也被使用但是也可以改变但是没有直接完成。
<我没有给出任何例子,因为这总是无休止的讨论。

Cor


lester <豪************** @ etang.com> schreef in bericht
新闻:e7 ****************** @ TK2MSFTNGP15.phx.gbl ...
Lester

Simply answer, it is a next step in the evolution of that language, and than you ask "yes and than?

It is more logical to write, however as with all evolutions are there staid some legacy, where the users are used too however could have been as well
changed however that is not done direct.

I give no examples because that goes always to endless discussions.

Cor


"lester" <ho**************@etang.com> schreef in bericht
news:e7******************@TK2MSFTNGP15.phx.gbl...
一个初学者之前'问题:
.net的优点和缺点是什么,与++相比

我想知道如果我继续学习C#后我能得到什么
学会了
C - > C ++ - > C#??

我认为必须有很多人知道这里的答案。

感谢

BR
------ ----------
Lester
a pre-beginner''s question:
what is the pros and cons of .net, compared to ++

I am wondering what can I get if I continue to learn C# after I have
learned
C --> C++ --> C# ??

I think there must be many know the answer here.

thanks

BR
----------------
Lester




" lester" <豪************** @ etang.com>写在

新闻:e7 ****************** @ TK2MSFTNGP15.phx.gbl ...
"lester" <ho**************@etang.com> wrote in
news:e7******************@TK2MSFTNGP15.phx.gbl...
一个前-beginner'的问题:
.net的优点和缺点是什么,与++


相比(我假设++表示C ++"?)

您可以使用C ++编写完美的.NET程序:标记为托管的类型

(使用一些神秘的新关键字)将受益。 NET的优点:垃圾

集合,反射,语言互操作性等等。另外,

你可以使用任何托管类型(例如.NET框架库中的类型)

你的普通版本C ++代码。

另一方面,这也意味着你有另一个String类,另一个

数组类,另一个内存管理模式(...)可供选择 - 好像

C ++已经不够了。

这就是C#的用武之地:它牺牲了向后的兼容性

清晰度 - 一种字符串类型,一种数组类型...

我想知道如果我继续学习C#后我能得到什么?
C - > ; C ++ - > C#??
a pre-beginner''s question:
what is the pros and cons of .net, compared to ++
(I assume "++" means "C++"?)
You can write perfect .NET programs using C++: Types marked as "managed"
(using some cryptic new keywords) will benefit of .NET''s advantages: Garbage
Collection, Reflection, language interoperability to name just a few. Plus,
you can use any managed type (e.g. types from the .NET framework library) in
your "ordinary" C++ code.
On the other hand, this also means you have another String class, another
Array class, another memory management pattern (...) to choose from - as if
C++ didn''t have enough already.
That''s the point where C# comes in: It sacrifices backwards compatiblity for
clarity - one string type, one array type...
I am wondering what can I get if I continue to learn C# after I have
learned
C --> C++ --> C# ??




您将学习一种现代,干净,纯粹面向对象的语言。如果你曾经想过为什么我需要所有那些不同的字符串类型,比如char *,

wchar_t *,string,CString,BSTR ......,那么应该真的试试C#。


Niki



You''d learn a modern, clean, purely-object-oriented language. If you ever
thought "why do I need all those different string types like char*,
wchar_t*, string, CString, BSTR...", then should really give C# a try.

Niki


这篇关于一个初学者的问题:与++相比,.net的优缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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