[Modify] Polish it

This commit is contained in:
sta 2022-01-20 21:05:25 +09:00
parent a85e637d5b
commit 728f13d1de

View File

@ -48,7 +48,10 @@ namespace Example2
protected override void OnMessage (MessageEventArgs e)
{
Sessions.Broadcast (String.Format ("{0}: {1}", _name, e.Data));
var fmt = "{0}: {1}";
var msg = String.Format (fmt, _name, e.Data);
Sessions.Broadcast (msg);
}
protected override void OnOpen ()