C#表示Char空值的方法 developdotnet发布于:2015年5月16日 次浏览char c1 = '\0'; char c2 = Char.MinValue; char c3 = (char) 0; char c4 = Convert.ToChar(0); char c5 = ((char?) null).GetValueOrDefault(); char c6 = default(char); Console.WriteLine("Char value:" + c2);更新于:2015年5月16日C# 水晶报表公式使用如果在水晶报表中想要一个字段根据一定的条件再显示,可以使用公式。 在【公式字段】中点击鼠标右键,新建一个公式,内容是: if {ShippingRec.Part}="...C#遍历类对象获取属性名、值、Description声明对象using System; using System.ComponentModel; using System.Reflection; [Description("用户&qu...