Make C # multi-point code snippet

Source: Internet
Author: User

Anyone who has used VB.net knows that the system providesCodeA lot of sections are also very practical, and the database-related code segments make me more comfortable. You should directly right-click to insert the code segment when writing the connection string, instead of looking for long characters, then copy the connection string in the automatically generated code. But when I got to C #, I found that this code segment provided too little. If I didn't use VB.net's C #, I would think this code segment was useless. Indeed, if you rely on the code segments provided by default, they are dispensable and have no effect. Therefore, to make the C # code segment function a climate, you can only download additional code segments. In fact, Microsoft provides code snippets for download. You only need to download and install them there, so that the C # code snippet function can be removed from the teeth.

Http://msdn.microsoft.com/zh-cn/vstudio/aa718338.aspx URL as follows

First, open the above URL and you will see the Chinese section "Download all C # code segments". Click.

Next he will go to a http://msdn.microsoft.com/en-us/vstudio/aa718338.aspx

However, the content is the same. So you continue to click "download all the C # code snippets.

He will go to a URL like a protocol, http://msdn.microsoft.com/en-us/cc507827.aspx

Click "I accept" at the bottom of the page.

Then you can download it. Http://download.microsoft.com/download/9/ B /d/9bdf1a68-72bc-4131-a166-6cfde37a10af/Code_Snippets.msi

The download is an installation.ProgramAfter the installation, I opened vs. Unfortunately, I found that there were not many C # code segments. Why?

Later I found the directory for installing those things and copied it to c: \ Documents ents and Settings \ Administrator \ My Documents ents \ Visual Studio 2005 \ code snippets \ Visual C #

Next, try again and find that there are more code segments. The only pity is that all are in English.

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.