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 G-C-I.COM Visual Studio 2005 Code Snippets

2 What the heck is this? 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 message, to drawing a circle.

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

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

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

7 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 G-C-I.COM System.dll System.xml, Version= , Culture=neutral, PublicKeyToken=B77A5C561934E089 OR Demo…

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

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

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

12 G-C-I.COM Demo

13 G-C-I.COM Q & A

14 G-C-I.COM More reading… 1.http://msdn2.microsoft.com/en-us/library/9ybhaktf(VS.80).aspx.http://msdn2.microsoft.com/en-us/library/9ybhaktf(VS.80).aspx 2.http://msdn2.microsoft.com/en-us/vstudio/aa aspxhttp://msdn2.microsoft.com/en-us/vstudio/aa aspx 3.http://www.developer.com/net/vb/article.php/10926_ _1http://www.developer.com/net/vb/article.php/10926_ _1 4.http://dotnetjunkies.com/Article/C95AC204-DE44-4D4A-A2B7-1EB1BE14A8A1.dcikhttp://dotnetjunkies.com/Article/C95AC204-DE44-4D4A-A2B7-1EB1BE14A8A1.dcik And of-course in my blog


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

Similar presentations


Ads by Google