简体   繁体   English

学习C#.net Framework

[英]Learning C# .net Framework

I want to learn “C#” and “.net frame work” properly. 我想正确学习“ C#”和“ .net框架工作”。

I read basic concept of C# language. 我阅读了C#语言的基本概念。 Since I know C++ It did not took too much time to read C# simple tutorial. 因为我知道C ++,所以花太多时间阅读C#简单教程。

Now when I searched the .net tutorial, most of the sites give C# language feature and some of the .net controls API and class usage. 现在,当我搜索.net教程时,大多数站点都提供了C#语言功能以及一些.net控件的API和类用法。

But I don't want that. 但是我不想要那个。 I want basic such as how event loop work, how frame work is designed and some core concepts. 我想要一些基本的知识,例如事件循环的工作方式,框架的设计方式以及一些核心概念。 For example when I searched the memory handling in .net I got garbage collection in .net, I read it and liked it a lot because it explains how and when garbage collection is going to take place. 例如,当我在.net中搜索内存处理时,在.net中获得了垃圾回收,因此我阅读并非常喜欢它,因为它说明了垃圾回收的方式和时间。

One more thing is how read/understand a frame work? 还有一件事是如何阅读/理解框架?

Please help me to understand C#.net frame work properly. 请帮助我了解C#.net框架的正常工作。

购买本书:Jeffrey Richter撰写的CLR CLR

I make a habit of reading someone else's code for at least 30 minutes a day. 我养成每天至少30分钟阅读别人代码的习惯。 Code rarely comes with explanations fit for beginners, but it sure helps to get an understanding of practical usage of the language. 代码很少附带适合初学者的解释,但它确实有助于理解该语言的实际用法。

When looking for a text-book-style language guide, the MCTS self-help books have been more than adequate for my needs. 在寻找教科书风格的语言指南时,MCTS自助书已经足够满足我的需求。 They hardly cover practical usage of the language, but are fairly thorough in the whys and wherefores. 它们几乎没有涵盖语言的实际用法,但是在为什么和为什么方面相当详尽。

Here's a link to the MS MCTS training site, where you can explore certification exams and find supporting literature. 这是MS MCTS培训网站的链接,您可以在其中浏览认证考试并找到支持的文献。 I hope it helps. 希望对您有所帮助。

http://www.microsoft.com/learning/en/us/certification/mcts.aspx http://www.microsoft.com/learning/zh-CN/certification/mcts.aspx

First of all, there are two completely separate GUI frameworks contained in .NET. 首先,.NET中包含两个完全独立的GUI框架。 The older one is called Windows Forms or WinForms and is largely a wrapper around the low-level Windows API and Windows native controls. 较旧的称为Windows FormsWinForms ,在很大程度上是对低级Windows API和Windows本机控件的包装。 The other one is called Windows Presentation Foundation (WPF) and is a very new and very different approach. 另一个称为Windows Presentation Foundation(WPF) ,它是一种非常新颖且截然不同的方法。

How the event loop works: The event loop is normally referred to as the message loop . 事件循环的工作原理:事件循环通常称为消息循环 There is a separate implementation of it in Windows Presentation Forms (WPF), about which I could find no information (sorry). Windows Presentation Forms(WPF)中有一个单独的实现,有关该信息我找不到任何信息(对不起)。 But the WinForms one is actually the same as you would use in a low-level Windows API application. 但是WinForms实际上与在低级Windows API应用程序中使用的相同。 There is a Wikipedia article on the Message loop in Microsoft Windows . 在Microsoft Windows中的“ 消息循环 ”上有Wikipedia文章。

How the framework is designed: This is a very vague question and is not possible to be answered as such. 框架的设计方式:这是一个非常模糊的问题,因此无法回答。 If you have specific questions about the design criteria or the design process, you can post a new and specific question about it. 如果您对设计标准或设计过程有特定疑问,则可以发布有关它的新的特定问题。

您不必堆积在书本中,首先要找到一个Reflector程序并尝试理解代码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM