摘要:
一、定义 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; namespace HJ.B 阅读全文
posted @ 2019-12-22 16:57
秋飘
阅读(240)
评论(0)
推荐(0)
摘要:
一、扩展类 //定义扩展方法 public static class ExtsionString { public static string GetTop10(this string value) { return value.Substring(0, 10); } } //调用扩展方法 this 阅读全文
posted @ 2019-12-22 16:37
秋飘
阅读(1512)
评论(0)
推荐(0)
浙公网安备 33010602011771号