切换到C# [英] Switching to C#

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

问题描述

简短版本:

尝试学习C# - 5年C ++,2年Java经验:)帮助!


长版:


我发现学习C#2005至少可以说,杰西·利伯蒂是慢的。

我正在浏览这本书,2天前开始可能会完成

今天。 />

我被委托建立一个朋友的C#应用​​程序,涉及解析XML,右键单击shell集成,上传到远程服务器,

可能加密。他有Visual Studio 2003 - 所以我猜这就是我用的b $ b我也在使用它...


在Java中它有助于引用类I的文档需要

熟悉自己。


(原谅我,我不确定我想要问的语义。)什么

将是一个最常用的.NET组件列表?

(类/函数?)按降序排列 - 然后我可以从
$开始b $ b开始,只是以我自己的方式熟悉自己。 (如果我不知道
看看如何或为什么使用某些东西那么我可以在

google上搜索一个例子。)


有什么建议吗?如果我有正确的学习工具,我觉得我可以快速进步。如果对我来说最好的工具是书,我不反对

- 但我很肯定这不是我的书。


-

LTP

Short version:

Trying to learn C# - 5 years C++, 2 years Java experience :) Help!

Long version:

I find "Learning C# 2005" by Jesse Liberty to be ''slow'', to say the least.
I am skimming through the book, started 2 days ago will probably finish
today.

I''ve been commissioned to build a C# application by a friend, involving
parsing XML, right click shell integration, uploading to remote servers,
possibly encryption. He has Visual Studio 2003 - so I guess that is what I
am using too :)

In Java it helped to be referenced to documentation on classes I needed to
familiarize myself with.

(Forgive me, I''m not sure the semantics of what I am trying to ask.) What
would be great would be a list of most commonly used .NET components?
(classes/functions?) in descending order - then I could start at the
beginning and just work on familiarizing myself in my own way. (If I don''t
see how or why something is used then I can search for an example on
google.)

Any advice? I feel like I could progress quickly if I just had the right
learning tools. If the best tool for me is a book, I am not opposed to
that - but I''m positive it is not the book that I have.

--
LTP

:)

推荐答案

3月26,2:45 pm,Luc The Perverse

< sll_noSpamlicious_z_XX ... @ cc.usu.eduwrote:
On Mar 26, 2:45 pm, "Luc The Perverse"
<sll_noSpamlicious_z_XX...@cc.usu.eduwrote:

简短版本:


尝试学习C# - 5年C ++,2年Java经验:)帮助!


长版:


我发现学习C#2005至少可以说,杰西·利伯蒂是慢的。

我正在浏览这本书,2天前开始可能会完成

今天。 />

我被委托建立一个朋友的C#应用​​程序,涉及解析XML,右键单击shell集成,上传到远程服务器,

可能加密。他有Visual Studio 2003 - 所以我猜这就是我用的b $ b我也在使用它...


在Java中它有助于引用类I的文档需要

熟悉自己。


(原谅我,我不确定我想要问的语义。)什么

将是一个最常用的.NET组件列表?

(类/函数?)按降序排列 - 然后我可以从
$开始b $ b开始,只是以我自己的方式熟悉自己。 (如果我不知道
看看如何或为什么使用某些东西那么我可以在

google上搜索一个例子。)


有什么建议吗?如果我有正确的学习工具,我觉得我可以快速进步。如果对我来说最好的工具是书,我不反对

- 但我很肯定这不是我的书。


-

LTP


:)
Short version:

Trying to learn C# - 5 years C++, 2 years Java experience :) Help!

Long version:

I find "Learning C# 2005" by Jesse Liberty to be ''slow'', to say the least.
I am skimming through the book, started 2 days ago will probably finish
today.

I''ve been commissioned to build a C# application by a friend, involving
parsing XML, right click shell integration, uploading to remote servers,
possibly encryption. He has Visual Studio 2003 - so I guess that is what I
am using too :)

In Java it helped to be referenced to documentation on classes I needed to
familiarize myself with.

(Forgive me, I''m not sure the semantics of what I am trying to ask.) What
would be great would be a list of most commonly used .NET components?
(classes/functions?) in descending order - then I could start at the
beginning and just work on familiarizing myself in my own way. (If I don''t
see how or why something is used then I can search for an example on
google.)

Any advice? I feel like I could progress quickly if I just had the right
learning tools. If the best tool for me is a book, I am not opposed to
that - but I''m positive it is not the book that I have.

--
LTP

:)



对C#有些新意我尝试过学习C#书也是如此。我没有吸引我的注意力或把我拉进我需要学习的东西。那是'

肯定的。对我来说,我成功地使用Sams教你自己的视觉C#

24小时书,以及Microsoft Visual C#Step by Step一书。

这些都是很好的介绍性文章,并提供了足够的有形

详细信息,为我需要了解的内容奠定了良好的基础

启动我自己的项目。总的来说,我会推荐Sams书来获得

大多数编程语言...

Being somewhat new to C# I tried the Learning C# book as well. Didn''t
grab my attention or pull me into what I needed to learn. That''s for
sure. For me I had success using the Sams Teach Yourself Visual C# in
24 Hours book, as well as the Microsoft Visual C# Step by Step book.
These were good introductory texts, and provided enough tangible
details to give me a good foundation for what I needed to know to
start my own projects. Overall I would recommend the Sams book for
most programming languages...


3月26日下午2:45, Luc The Perverse

< sll_noSpamlicious_z_XX ... @ cc.usu.eduwrote:
On Mar 26, 2:45 pm, "Luc The Perverse"
<sll_noSpamlicious_z_XX...@cc.usu.eduwrote:

我已被委托给由朋友构建一个C#应用程序,涉及解析XML,右键单击shell集成,上传到远程服务器,

可能加密。他有Visual Studio 2003 - 所以我猜这就是我使用的b $ b $ :)
I''ve been commissioned to build a C# application by a friend, involving
parsing XML, right click shell integration, uploading to remote servers,
possibly encryption. He has Visual Studio 2003 - so I guess that is what I
am using too :)



你想看看System.Xml.XmlDocument和相关的类

(文档将帮助你),System.Web或System.Net.IO

用于上传(取决于你是否''使用HTTP上传或

另一个协议)和System.Security.Cryptography命名空间。


我不知道去哪里右键单击shell集成...

但你可能会在安装时这样做,也可能通过

注册表(Microsoft.Win23.Registry)。


另外,请务必阅读IDisposable界面;你需要注意这一点,因为大多数实现

接口的类都使用非托管资源,这些资源只能通过调用来释放

配置。 using关键字有助于确保正确处理实现该接口的
类。


此外,C#的行为更像Java而不是C#,所以当你''设计你的

程序,遵循Java思维模式而不是C / C ++程序..


HTH

Andy

You''ll want to check out System.Xml.XmlDocument and related classes
(the documentation will help you there), System.Web or System.Net.IO
for your uploading (depending on if you''re using HTTP to upload or
another protocol) and System.Security.Cryptography namespace.

I''m not sure about where to go for right click shell integration...
but you''ll probably do that on installation, and probably via the
registry (Microsoft.Win23.Registry).

Also, be sure to read up on the IDisposable interface; you''ll need to
be on the lookout for that, as most classes that implement the
interface use unmanaged resources, which are only freed by calling
Dispose. The using keyword can help make sure you properly dispose of
classes which implement the interface.

Also, C# behaves more like Java than C#, so when you''re designing your
program, follow the Java mindset more than the C/C++ one..

HTH
Andy


3月26日上午11点45分,Luc The Perverse

< sll_noSpamlicious_z_XX ... @ cc .usu.eduwrote:
On Mar 26, 11:45 am, "Luc The Perverse"
<sll_noSpamlicious_z_XX...@cc.usu.eduwrote:

简称:


尝试学习C# - 5年C ++,2年Java经验: )帮助!


长版:


我发现学习C#2005至少可以说,杰西·利伯蒂是慢的。

我正在浏览这本书,2天前开始可能会完成

今天。 />

我被委托建立一个朋友的C#应用​​程序,涉及解析XML,右键单击shell集成,上传到远程服务器,

可能加密。他有Visual Studio 2003 - 所以我猜这就是我用的b $ b我也在使用它...


在Java中它有助于引用类I的文档需要

熟悉自己。


(原谅我,我不确定我想要问的语义。)什么

将是一个最常用的.NET组件列表?

(类/函数?)按降序排列 - 然后我可以从
$开始b $ b开始,只是以我自己的方式熟悉自己。 (如果我不知道
看看如何或为什么使用某些东西那么我可以在

google上搜索一个例子。)


有什么建议吗?如果我有正确的学习工具,我觉得我可以快速进步。如果对我来说最好的工具是书,我不反对

- 但我很肯定它不是我的书。
Short version:

Trying to learn C# - 5 years C++, 2 years Java experience :) Help!

Long version:

I find "Learning C# 2005" by Jesse Liberty to be ''slow'', to say the least.
I am skimming through the book, started 2 days ago will probably finish
today.

I''ve been commissioned to build a C# application by a friend, involving
parsing XML, right click shell integration, uploading to remote servers,
possibly encryption. He has Visual Studio 2003 - so I guess that is what I
am using too :)

In Java it helped to be referenced to documentation on classes I needed to
familiarize myself with.

(Forgive me, I''m not sure the semantics of what I am trying to ask.) What
would be great would be a list of most commonly used .NET components?
(classes/functions?) in descending order - then I could start at the
beginning and just work on familiarizing myself in my own way. (If I don''t
see how or why something is used then I can search for an example on
google.)

Any advice? I feel like I could progress quickly if I just had the right
learning tools. If the best tool for me is a book, I am not opposed to
that - but I''m positive it is not the book that I have.



我用Google搜索单词C#for C ++ programmers"并找到一堆

不同的链接和书籍引用。

I Googled the words "C# for C++ programmers" and found a bunch of
different links and book citations.


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

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