private void btnGetModel_Click(object sender, EventArgs e) { var modelInstance = _tcpClient.FetchTestInstanceById(1); Output("Instance details:"); Output($"Id: {modelInstance.Id}"); Output($"Name: {modelInstance.Name}"); Output($"Active: {modelInstance.Active}"); Output($"Internal Dictionary: {modelInstance.InternalDictionary.Count}"); foreach (var item in modelInstance.InternalDictionary) { Output("{ KeyValuePair: " + item.Key + " - " + item.Value + " }"); } }