class1.cs
来自「Agent技术在智能交通中的应用」· CS 代码 · 共 21 行
CS
21 行
using System;
namespace AgentServer
{
class Class1
{
static void Main(string[] args)
{
int port = 10000;
if (args.Length > 0)
{
port = int.Parse(args[0]);
}
MobileAgents.AgentHost.Initialize(port, "MyAgentSample");
Console.Out.WriteLine("Press enter to stop...");
Console.In.ReadLine();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?