概述
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 SharpEightInfo类(1)所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复