Negative C # Chapter 5: working with the framework)

Source: Internet
Author: User

Negative C # Chapter 5: working with the framework
Chapter 5. Working with the framework

My colleague, my friend Martin Shoemaker, is studying a very serious problem: "I have to write. netCode?" The answer is: no. You should use the tools you have on hand to help you write code.

The. NET Framework is a rich class library. The more you learn about the framework, the less code you need to write. The Framework library will help you do a lot of work. This chapter tells you some of the most common technologies in the. NET Framework. When you have multiple choices in the. NET Framework, some principles in this chapter will help you select the best one. You can use something that already exists to write your own class andAlgorithmInstead of conflict with them.

Some principles in this chapter reflect some algorithms and classes. When some developers can easily use the. NET Framework, they are determined to write it by themselves. This is because, sometimes, the. NET Framework does not know what they want. At this time, I will tell you how to expand existing core functions. Sometimes they don't know how to work at the core, or sometimes they have high performance requirements.

Even if you use all the tools available in the. framework, many developers prefer to create their own tools. Do not write these codes, especially those already completed.
========================

Chapter 5. Working with the framework
my friend and collegou Martin shoemaker runs a great Roundtable called "Do I have to write that. Net code? "The answer is, hopefully, No. You shoshould use all the tools at your disposal to avoid writing code that already exists and that you can use.

. net Framework is a rich class library. the more you learn about the framework, the less code you need to write yourself. the Framework library will do more of the work for you. this chapter shows you some common techniques to get the most out of. net Framework. other items help you choose the best option when multiple choices are available in the framework. you can write your classes and algorithms to utilize what's already there instead of fighting against it. the items in this chapter reflect the algorithms and classes that developers seem intent on building for themselves when they cocould easily use. net Framework. sometimes it's because the framework isn' t exactly what you need. in those cases, I show you how to extend the core functionality. sometimes, it's because they don't understand how the core works. sometimes, it's because they are overly concerned with performance.

Even with all the tools available in the framework, too developers woshould rather create their own wheels. Don't write that codeespecially if someone else already did.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.