Presentation is loading. Please wait.

Presentation is loading. Please wait.

G-C-I.COM Visual Studio 2005 Code Snippets.

Similar presentations

Presentation on theme: "G-C-I.COM Visual Studio 2005 Code Snippets."— Presentation transcript:

1 BabulalK @ G-C-I.COM Visual Studio 2005 Code Snippets

2 What the heck is this? BabulalK @ G-C-I.COM

3 Code Snippets 1.IntelliSense Code Snippets are reusable. 2.Task-oriented. Are blocks of code. Visual Studio 2005 includes code snippets covering tasks ranging from creating a custom exception, to sending an e-mail message, to drawing a circle.

4 BabulalK @ G-C-I.COM Code Snippets Or Ctrl + K, X

5 BabulalK @ G-C-I.COM Code Snippets – Demo 1

6 BabulalK @ G-C-I.COM Creating Custom Code Snippets 1. 2. Two Elements Singleton Code snippet singleton class Babulal K R Expansion

7 BabulalK @ G-C-I.COM Sub-element to specify the basic code. Contains 4 sub elements like -- To add assembly references. -- To import the Namespaces. -- Define the variables or type. -- Info for Code generation. Continued…

8 BabulalK @ G-C-I.COM System.dll System.xml, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089 OR Demo…

9 BabulalK @ G-C-I.COM System. Collections Demo…

10 BabulalK @ G-C-I.COM type Property type String property Property name MyProperty field The variable backing this property _myPropertyr Demo…

11 BabulalK @ G-C-I.COM Language supported CSharp VB VJSharp XML

12 BabulalK @ G-C-I.COM Demo

13 BabulalK @ G-C-I.COM Q & A

14 BabulalK @ G-C-I.COM More reading… 1. 2. 3. 4. And of-course in my blog

Download ppt "G-C-I.COM Visual Studio 2005 Code Snippets."

Similar presentations

Ads by Google