C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Code snippets


Posted Date: 11 Sep 2008    Resource Type: Tips    Category: Visual Studio

Posted By: Jayesh       Member Level: Gold
Rating:     Points: 3



Code snippets are very helpful while writing code in visual studio.

Press Ctrl+X in any Visual Studio code window to get the code snippet options.

Then you can easily insert code blocks using short keywords. You just have to fillup the blanks. It saves a lot of time and makes it very easy to write code.



key words
----------
prop - creates a property declaration with get and set methods.
propg -creates a property declaration with get method only.
exception - creates full declarations for an exception class.
if - creates an if block
for - creates a for loop
foreach - creates foreach loop
indexer -creates an indexer block with get and set methods

-jayeshkolpurath@yahoo.co.in




Responses

Author: Gaurav Arora    18 Oct 2008Member Level: Gold   Points : 1
Hi Jayesh,

Short but very helpful tips. I ll definitely, try these.

Thanks,
Gaurav Arora


Author: Pradeep Y    28 Oct 2008Member Level: Gold   Points : 0
hi,

good useful tips

regards,
pradeep


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Write code  .  Visual studio  .  Shortcuts  .  Save coding  .  Easy coding  .  Code snippet  .  Code help  .  Background colour google toolbar  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Providing Biztalk & Sharepoint support
Previous Resource: Enabling Shortcuts
Return to Discussion Resource Index
Post New Resource
Category: Visual Studio


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

efax

Contact Us    Privacy Policy    Terms Of Use