hello.cs
来自「.net remoting的简单应用 .net remoting的简单应用 」· CS 代码 · 共 26 行
CS
26 行
using System;
namespace Wrox.ProCSharp.Remoting
{
/// <summary>
/// 摘要说明
/// </summary>
public class Hello:System.MarshalByRefObject
{
public Hello()
{
Console.WriteLine("Constructor called");
}
~Hello()
{
Console.WriteLine("Constructor called");
}
public String Greeting(string name)
{
Console.WriteLine("Greeting called");
return "Hello," + name;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?