给我一个C#项目代码供学习使用 [英] Give me a C# project code for learning use

查看:71
本文介绍了给我一个C#项目代码供学习使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在学习C#,但是C#项目代码很少.
我想使Windows应用程序易于使用,如果您向我推荐一些书或一些代码下载网站,或者直接通过E-MAIL发送给我,我将非常感谢您!
我的电子邮件[DELETED] @hotmail
谢谢!

[edit]电子邮件已删除-OriginalGriff [/edit]

I now learn C# ,but C# project code is very very few .
I want to make a windows application to easy working,if you have good recommend some book or some Code download web to me ,and or directly to send me by E-MAIL ,i will very very thank you!
my e-mail [DELETED]@hotmail
thanks!

[edit]Email deleted - OriginalGriff[/edit]

推荐答案

如果您转到msdn,则会在C#上找到大量的链接和演示-> http://msdn.microsoft.com/en-us/library/aa288436%28v = vs.71%29.aspx [ ^ ].
If you go to msdn you will find tons and tons of links and demos on C# -> http://msdn.microsoft.com/en-us/library/aa288436%28v=vs.71%29.aspx[^].


C#项目并不是非常非常少",仅此站点就可以容纳数千个! />
创建一个简单的Windows应用程序很容易:
1)运行Visual Studio
2)在文件"菜单上,选择添加...新项目"
3)选择语言作为"Visual C#",然后选择"Windows Forms Application"
4)给它取一个合理的名称,然后按OK
5)从工具箱中拖动一个按钮,并将其放在表单上.
6)双击刚刚拖动的按钮.
7)在打开的代码窗口中,将此行添加到button1_Click方法:
C# Projects are not "very, very few" - this site alone holds thousands of them!

The create a simple windows application is easy:
1) Run Visual Studio
2) On the File menu, Select "Add...New Project"
3) Select the langauge as "Visual C#", and select "Windows Forms Application"
4) Give it a sensible name, and press OK
5) Drag a button from the toolbox, and drop it on your form.
6) Double click the button you just dragged.
7) In the code window that opens, add this line to the button1_Click method:
MessageBox.Show("Hello World");


运行程序.

完成.

现在,出去拿一本书,开始阅读-您需要对整个过程进行结构化的介绍-只看一个随机的项目不会帮助您学习很累-您将错过很多重要的东西!


Run your program.

Done.

Now, go out and get a book, and start reading - you need a structured introduction to the whole process - just loking at a random project will not help you learn very weel - you will miss far to much important stuff!


这篇关于给我一个C#项目代码供学习使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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