private static async void SendObject() { System.Console.Clear(); var person = new Person("TestFromClient", "FirstName", "5th Avenue"); WriteLine("Press enter to send an object."); System.Console.ReadLine(); await _client.SendObjectAsync(person); }
private static async void SendObject() { System.Console.Clear(); var person = new Person("TestFromClient", "FirstName", "5th Avenue"); WriteLine("Press enter to send an object."); System.Console.ReadLine(); await _client.SendObjectAsync(person); }