public static void Show()
{
#region 默认接口方法
CustomInterface interface1 = new CustomClass();
interface1.Show();
interface1.ShowInfo();
#endregion
#region switch 表达式
//老玩法
string week3 = WeekToStringSwitch(WeekInfo.Monday);
string week4 = WeekToStringSwitch(WeekInfo.Tuesday);
string week5 = WeekToStringSwitch(WeekInfo.Wednesday);
//新玩法
string week = WeekToString(WeekInfo.Monday);
string week1 = WeekToString(WeekInfo.Tuesday);
string week2 = WeekToString(WeekInfo.Wednesday);
#endregion
#region 属性模式
PropertyPattern product = new PropertyPattern()
{
ProductName = "朝夕架构班
最后
以上就是缓慢毛巾最近收集整理的关于ASP.NET SharpEightInfo类(1)的全部内容,更多相关ASP.NET内容请搜索靠谱客的其他文章。
发表评论 取消回复