c#是微软用来对付java的,比较适合快速开发
解决方案 »
- c# 如何实现搜索同一网段内的所有打印机 求思路,求源码 来者皆给分
- DefaultCellStyle.BackColor第一次不起作用啊
- 多线程IP端口扫描器的实现问题
- 分不多,c#程序员进来拿分了,只要分够,进者有份!
- 这样调用MSXML2.XMLHTTP为什么会出错
- C#查询功能的问题!
- .net调用java axis service 总是失败,求各位大虾汇诊!急!急!急!,顺祝新年好
- 请问C#如何向某一连接发送请求获得该连接的html源码?
- 请问安装VISUAL STUDIO.NET对系统有什么要求吗
- 如何取得Excel文件的Sheet名?
- 如何知道电脑上没上internet网??
- 都说会 C++ 后再学 C# 容易得多 , 请问到底有多少 ?
int i[10];
int *p=i;...
p++;
...
unsafe public void Mysub()
{
int *p;
int i = 5;
p = &i;
}
这里用指针什么也做不了,因为变量在内存中的位置是可以被GC改动的
与其说C#没有指针,还不如说C#不支持在堆栈上构建对象。
象Shape sp语句相当于C++中的Shape* sp,JAVA和Object Pascal也是如此。
我认为MS推出C#是为了抗衡JAVA,而不是为了取代C++。
I dislike.
(1)I like C and C++ language.It is simple in style and give you a comfortable
feeling when using it.While using C# and Java language,I feel them the same
as Visual Basic language.Not simple in code style.
(2)In class library,C# copy Java,howerer I don't like Java's class library.Why?
Javal class library ,dislike that of visual C++'s MFC.Each of its library is
too small,which means too many in number.This makes me feel uncomfortable!
Upon comparing,I like MFC more.So this is the reason why i choose VC!
(3)In the field of Game Programming and something more contacting with the whole
OS,Visual C++ is your best selection!I often go to some abroad website for
the information of Game Programming,and i found that most of the Game programming programmers use Visual C++ and SDK for their exploring tools !
(3)Micorsoft doesn't give up Visaul C++ in the .Net framework,which means that
Visual C++ has wonderful power!
嗯,大约如此。
这么说吧,使用指针的地方,难道真不能用引用代替吗?我知道会有,但有多少呢?那个朋友给个例子出来看看?
也许,C#和Java代表的,是一种不同的思维方式。
I think java and c# and C++ have their own purpose, so when I create a web application, I will use C# or java, and if my software is about game or driver etc., I will use VC++.
If only from language's viewpoint, I think c# is the best.
调用windows API?用VC++不就得了,为什么非要用C#呢
什么语言适合做什么就用什么语言,世界上不存在万能的编程语言