1. 解释说明
- 此方法用于wpf环境下的debug测试,可以测试某个参数的数值
- 调用的函数为System.Diagnostics.Debug.WriteLine()
2. 程序示例
System.Diagnostics.Debug.WriteLine($"ID: {data.id}");
System.Diagnostics.Debug.WriteLine("hello world");
- 此方法用于wpf环境下的debug测试,可以测试某个参数的数值
- 调用的函数为System.Diagnostics.Debug.WriteLine()
System.Diagnostics.Debug.WriteLine($"ID: {data.id}");
System.Diagnostics.Debug.WriteLine("hello world");