C# Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 221 Page Views: 

What does the #region directive do?



Posted By: Avi Date: 13 October 2010 11:09:14 PM
 Answer:

It defines region in the code that can be collapsed into one line in Visual Studio


Posted By: avibtech


Date: 13 October 2010 11:09:14 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image QmiFY3
Related Questions
C# : What does the checked keyword do?

What does the checked keyword do?

checked keyword enables overflow checkin for integral-type arithmetic operations
Category: C# Date: 10/14/2010 4:32:14 AM
C# : How do you use named parameters in c#?

How do you use named parameters in c#?

void M(int A, int B) {} M(A: 34, B:345);
Category: C# Date: 10/14/2010 3:59:47 AM
C# : Can operator [] be overloaded?

Can operator [] be overloaded?

no. You can define indexers.
Category: C# Date: 10/14/2010 3:42:32 AM
C# : Can interface inherit from other interfaces?

Can interface inherit from other interfaces?

Yes
Category: C# Date: 10/14/2010 3:14:14 AM
C# : How do you send email from c#?

How do you send email from c#?

SmtpClient smtp = new SmtpClient(); smtp.Host = “10.0.0.1”; MailMessage mail = new MailMessage(); ma....
Category: C# Date: 10/14/2010 2:50:31 AM