随笔分类 - C#技术
技术汇总
摘要:1 取字符串的前i个字符 str=str.Substring(0,i); // or str=str.Remove(i,str.Length-i); 2 去掉字符串的前i个字符: str=str.Remove(0,i); // or str=str.Substring(i); 3 从右边开始取i个字
阅读全文
摘要:using Huanent.Printer.Models; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Printing; using System.Text;
阅读全文
摘要:using System; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using System.Security.Cryptography; namespace Encryption { ...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class Program { //求两个数的奇数范围的和 static void Main(string[] args) { int num1 = int.Parse(Console.ReadLine()); ...
阅读全文

浙公网安备 33010602011771号