摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace Gkill { class RegistHotkey ... 阅读全文
posted @ 2017-11-07 00:19 BecaLove 阅读(1537) 评论(0) 推荐(0) 编辑
摘要: using UnityEditor; public class PoolManagerEditor { [MenuItem("Manager/Creat GameObjectPoolConfig")] static void CreatGameObjectPoolList() { GameObjectPoolList poolList = Scripta... 阅读全文
posted @ 2017-09-05 23:08 BecaLove 阅读(1280) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 快速排序法 { class Program { static void QuickSort(int[] dataA... 阅读全文
posted @ 2017-07-24 20:00 BecaLove 阅读(160) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data.OleDb;using System.Da 阅读全文
posted @ 2017-07-19 20:43 BecaLove 阅读(230) 评论(0) 推荐(0) 编辑
摘要: #define IsTest //定义一个宏 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; using System.Diagnostics; using Sys... 阅读全文
posted @ 2017-07-18 17:23 BecaLove 阅读(292) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { //择一匹配,查找数字或字母 //string s="ad是是fs地dff22天{!@!~}}sdfsdffffcz"; //string pattern =@"\d|[a-z]";//表达式(匹配所有数字或小写字母) ... 阅读全文
posted @ 2017-07-18 01:12 BecaLove 阅读(1585) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace LINQ01{ class Program { stat 阅读全文
posted @ 2017-07-15 09:37 BecaLove 阅读(619) 评论(0) 推荐(1) 编辑
摘要: 一个类如果声明一个Public的委托让其他方法注册,同样也会存在外部直接调用此委托,这样是有会出现莫名的调用风险的。因此就有了事件,事件无法在外部直接调用。外部只有注册(定阅)。内部进行发布。 class Mouse { public string name; 阅读全文
posted @ 2017-07-15 00:06 BecaLove 阅读(143) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 匿名方法与Lamda表达式 { class Program { static void Main(string[... 阅读全文
posted @ 2017-07-14 23:29 BecaLove 阅读(203) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleApp1{ class Program { 阅读全文
posted @ 2017-07-14 22:43 BecaLove 阅读(493) 评论(0) 推荐(0) 编辑