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

Can you define more than one class in one file?



Posted By: Avi Date: 13 October 2010 12:31:14 PM
 Answer:

Yes


Posted By: avibtech


Date: 13 October 2010 12:31: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 2WVYXt
Related Questions
C# : How do you create a copy constructor?

How do you create a copy constructor?

public class Sample { Public Sample(Sample t) {/* copy constructor */}}
Category: C# Date: 10/13/2010 10:55:46 AM
C# : How do you unsubscribe from an event?

How do you unsubscribe from an event?

using -= operator
Category: C# Date: 10/13/2010 10:42:14 AM
C# : Does c# supports optional arguments?

Does c# supports optional arguments?

Yes, from version 4.0
Category: C# Date: 10/13/2010 10:03:47 AM
C# : How do you prevent property from being serialized?

How do you prevent property from being serialized?

by marking it with [NonSerialized()] attribute
Category: C# Date: 10/13/2010 9:10:46 AM
C# : What is meant by MulticastDeligate?

What is meant by MulticastDeligate?

MulticastDeligate is a special class.It is a deligate that can have more than one element in its inv....
Category: C# Date: 10/1/2010 11:54:31 AM