Dot Net Remoting Question:

Write a example for remoting (code)?

Tweet Share WhatsApp

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 PDF Read All 26 Dot Net Remoting Questions
Previous QuestionNext Question
What is unmanaged code and will CLR handle this kind of code or not?Explain is .NET Remoting?