what is
 






 

Question by  praths (2)

What is the use of snippets in c#?

 
+7

Answer by  Christian9247 (5042)

This is a commonly used block of code called a snippet. This is a place holder for the actual program and is like a book mark for them.

 
+7

Answer by  ThePoltergeist (13)

Code snippets are used in Visual Studio when programming in C#. When the programmers types a keyword (usually the begining of the code he wishes to write) corresponding to a snippet, Visual Studio allows him to generate the portion of code automatically. For example, Visual Studio can generate an entire "for" loop if the programmer types the word "for".

 
+6

Answer by  Sharon72 (22)

Snippets in c# are commonly used blocks of code. Some coding text editor provide a way to insert the code which saves the programmer time.

 
You have 50 words left!