.Net
黑番茄
工匠精神!
展开
-
C# 字符串的处理
abcde -> edcba string str = "abcde"; char[] chs = str.tochararray(); for (int i = 0; i < chs.length / 2; i++) { char temp = chs[i]; chs[i] = chs[chs.length - 1 - i]; chs[chs.length...原创 2019-01-12 17:50:08 · 551 阅读 · 0 评论 -
C#继承
父类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleStudy { class Person { /// <summary> ...原创 2019-01-14 10:31:21 · 287 阅读 · 0 评论 -
C#里氏转换
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleStudy里氏转换 { class Program { static void Main(stri...原创 2019-01-14 22:06:41 · 639 阅读 · 0 评论