需要练习建议来帮助我学习和练习 .NET
您是否有想法进行一个涉及并涵盖 .NET 最重要和主要概念的复杂练习? (这样我就可以在编码和实现的同时学习)
该练习不适合初学者,而适合已经熟悉 .net 的人,但足够复杂,可以教授 .NET 2 的新功能。
谢谢!
Do you have any idea for a complex exercise that touches and covers most important and major concepts of .NET? (so I can learn while coding and implementation)
The exercise should NOT be for beginners, but for someone who already familiar with .net, but enough complex to teach new features of .NET 2 for example.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
我总是发现,当对个人有利时,学习某样东西会更容易; 所以我建议尝试写一些对你有用的东西; 这是否是跟踪您喜欢的板球/高尔夫/其他运动/等等的工具。 分数,或者帮助您提交纳税申报表,或者填写大学申请表,甚至只是为了展示您的才能以用作作品集的东西。
我坐下来要做的一件事(尽管首先有点拖延)是分析那些看起来可能实现接口但实际上没有实现的类的程序集(因此类可能有一个名为
Clone( )
但不实现ICloneable
) - 你可以做类似的事情 - 甚至可以将其作为 fxCop 规则,并集成到 VS2008 中的代码分析中或者,你可以竞标在rentacoder 等网站上工作。
I always find it's easier to learn something when there is a personal benefit; so I'd suggest trying to write something that would be of use to you; whether that's a tool for tracking your cricket/golf/other sport you like to play in/etc. scores, or something for helping you file a tax return, or fill in a university application form, or even just to showcase your talents to use as a portfolio piece.
Something I've sat down to do (albeit with a bit of procrastination first) is to analyse assemblies for classes that look like they might implement an interface, but don't (so a class might have a method called
Clone()
but not implementICloneable
) -- you could do something like that -- maybe even get it as an fxCop rule, and integrate into the code analysis in VS2008Alternatively, you could bid for work on a site like rentacoder.
一项很好的练习就是研究一些高质量的资源。
例如,获取 Log4Net、Paint.NET 或 xacc(第一个对读者友好的)源,研究、做一些修改、测试它、使用它......
One great exercise can be studying some good-quality source.
As example, take a source of Log4Net, Paint.NET or xacc (1st one much reader-friendly), study, do some modifications, test it, play with it...
如果您正在寻找一个范围广泛的项目,它将在设计、架构以及数据库和其他技术的具体细节上对您提出挑战:
这些是一些不错的选择,需要在许多方面进行大量思考。
If you're looking for a broad-scoped project that will challenge you on design, architecture, and the nuts&bolts of database and other technology:
These are some good choices that require a lot of thinking on many fronts.
我知道这是关于练习的,但有一些很棒的书可以帮助你提高。
我已经开始阅读深入了解 C# 并听到了有关的好消息
有效的 c#(免费章节 pdf) 和 更有效的c#(免费章节需要注册)。
阅读完这些内容后,也许可以利用那些激发您灵感的内容,编写一些小程序来测试该理论。
I know this is about exercises but there are some great books out there to help you improve.
I have started reading C# in depth and heard good things about
Effective c# (free chapter pdf) and More Effective c# (free chapter requires registration).
After reading these perhaps take the stuff that inspires you and write small little programs to test out the theory.
这可能听起来很愚蠢,但尝试订阅 asp.netPRO 杂志。 有一个提供包含所有过期问题的 CD 的报价,但订户可以从他们的网站搜索并下载所有内容(包括代码)(如果您有时间和耐心)。
我这么说的原因是,有很多文章范围狭窄,但却是各种功能的很好的例子。 他们过去常常运行这些由三部分组成的文章系列,这些文章将演示特定的内容 - 调查应用程序、博客、相册和管理器。 最新一期有一篇关于 ASP.NET 2.0 报告的简短文章。 里面有很多好主意。 一篇关于如何在 MasterPages 中使用 CSS 的文章(2007 年 3 月号)拯救了我 - 逐步描述了发生的事情,现在
我不再以任何方式为他们工作,我对此感到更加舒服,并且我意识到这听起来像是商业垃圾邮件,但令我震惊的是,带有过刊目录的 CD 可能值得一读。
This may sound silly, but try a subscription to asp.netPRO magazine. There's an offer for a CD that has all their back issues but subscribers can search and download all that stuff (code included) from their website (if you have the time and patience).
The reason I say this is that there are a lot of articles that are narrow in scope but are good examples of various features. They used to run these 3-part articles series that would demonstrate particular things - a survey application, a blog, a photo album and manager. The latest issue has a brief article on ASP.NET 2.0 reporting. Lots of good ideas in there. I got rescued by an article on how to use CSS with MasterPages (March '07 issue) - describing what happened step-by-step and I'm a LOT more comfortable with that now
I don't work for them in any way and I realize this sounds like commercial spam but it just struck me that the CD with their catalog of back issues on it might make for good readon.
Microsoft(和专门的第三方)在提供完美的视频教程方面无与伦比:
.NET Framework 2.0 中的泛型
旋风 1 - 泛型
旋风 2 - 迭代器
Whirlwind 3 - 部分类型、匿名方法
Whirlwind 4 - 访问器、静态类、可为空类型
Brian Noyes 谈 .NET 2.0 中的数据绑定
Venkat Subramaniam .NET 2.0 语言功能 A 部分
Venkat Subramaniam .NET 2.0 语言功能 B 部分
Carl Franklin 的 Venkat Subramaniam 教程摇滚! 这可是快两个小时的锻炼时间了!
Microsoft (and dedicated third parties) is unsurpassed in providing video tutorials that are perfect for following along:
Generics in .NET Framework 2.0
Whirlwind 1 - Generics
Whirlwind 2 - Iterators
Whirlwind 3 - Partial types, Anonymous methods
Whirlwind 4 - Accessors, Static Classes, Nullable Types
Brian Noyes on Databinding in .NET 2.0
Venkat Subramaniam .NET 2.0 Language Features Part A
Venkat Subramaniam .NET 2.0 Language Features Part B
The Venkat Subramaniam tutorials from Carl Franklin rock! That's almost two hours of exercising!
我过去使用的一种技巧是找到一本经过严格审查的“学习”书籍,并执行书中的每一个示例。 我的意思是,这是一本包含大量示例的书,您可以自己完成,而不是简而言之或参考书。 即使是微不足道的例子也可能阐明整个主题。 只要从头到尾就行了。 我最近在一次旅行中带着一本 Rails 书做了这个,它最终迫使我弄清楚 RoR。
A technique I have used in the past is to find a well-reviewed "learning" book and do every single example in the book. What I mean by this is a book with plenty of examples that you can do on your own, not a nutshell or reference book. Even the trivial examples might shed light on the overall topic. Just go beginning to end. I recently did this during a trip with a Rails book, and it finally forced me to figure RoR out.
如果您的目标是以与谋生相关的方式学习 .Net,我建议您访问 Monster.com 或 Dice.com,搜索 .Net 开发人员/工程师/程序员,并找到公司正在寻找以下经验的通用技术:获取该列表并构建现实世界的示例。 这样,您既可以学习 .Net,又可以保持主题与您的职业相关。
If your goal is to learn .Net in a way that is relevant to earning a living, I suggest going to Monster.com or Dice.com, searching for .Net Developer/Engineer/Programmer and finding common technologies companies are looking for experience in. Take that list and build real world examples. This way, you'll both learn .Net and keep the topics relevant to your career.