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

How do you define partial method?



Posted By: Avi Date: 14 October 2010 10:15:46 AM
 Answer:

partial void M(); //in file1.cs Partial void M() { } //in file2.cs


Posted By: avibtech


Date: 14 October 2010 10:15:46 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 5hLcRL
Related Questions
C# : What is the use of the dispose method in C#?

What is the use of the dispose method in C#?

Dispose() method is called programatically by the user and it is used to de-allocate the unused obje....
Category: C# Date: 10/1/2010 11:50:31 AM
C# : What is Lambda Expression in C#?

What is Lambda Expression in C#?

Lambada Expression is an anonymous function that can hold statements and expressions. It can also b....
Category: C# Date: 10/1/2010 11:49:31 AM
C# : Write a code in c# to run the program at particular time?

Write a code in c# to run the program at particular time?

public static void Main() { Timer t = new Timer(); t.Elapsed += new ElapsedEventHandler(OnElapsedTim....
Category: C# Date: 10/1/2010 11:48:31 AM
C# : Who developed C# and when?

Who developed C# and when?

C# was developed in 2000 is known as Microsoft's flagship language. It was developed by Microsoft wi....
Category: C# Date: 10/1/2010 11:47:31 AM
C# : Give some difference between C# and C++?

Give some difference between C# and C++?

1. C++ code usually compiles to assembly language whereas C# compiles to Intermediate language . 2. ....
Category: C# Date: 10/1/2010 11:46:31 AM