我已经使用TcpListener和TcpClient设置了服务器和客户端。我想将一个对象发送到我的服务器应用程序进行处理。我发现了usingSystem.Runtime.Serialization和以下documentation,但我不想四处闲逛,发现我正在以冗长的方式做这件事。问题:通过TCP流处理和发送对象的最佳方式是什么?发送和接收。这是我的对象的示例://CreateanewhousetosendhousenewHouse=newhouse();//SetvariablesnewHouse.street="MillLane";newHouse.postcode="LO1BT5"