Dot Net Remoting Question:
Download Questions PDF

Write a example for remoting (code)?

Answer:

public class CommonClass : MarshalByRefObject
{

public string FirstName;

public string LastName;

public string GetWelcomeString()
{
Console.WriteLine("Welcome " + FirstName + " " + LastName);
return "Welcome " + FirstName + " " + LastName;
}

}

Download Dot Net Remoting Interview Questions And Answers PDF

Previous QuestionNext Question
What is unmanaged code and will CLR handle this kind of code or not?Explain is .NET Remoting?