随笔分类 -  内参

摘要:# define stopwatch//# define datetime//# define longnamespace Test{ using System; using System.Threading; using System.Threading.Tasks; using Microshaoft; class Program { static void Main() { GCNotifier.RegisterForFullGCNotification ... 阅读全文
posted @ 2012-07-21 09:16 于斯人也 阅读(230) 评论(0) 推荐(0)
摘要:namespace Microshaoft{ using System; using System.Linq; using System.Threading.Tasks; using System.Threading; using System.Collections.Generic; using System.Collections.Concurrent; class Program { static void Main(string[] args) { var list = new List<... 阅读全文
posted @ 2012-06-29 19:59 于斯人也 阅读(299) 评论(0) 推荐(0)
摘要:namespace ConsoleApplication{ using System; public class Class { static void Main(string[] args) { Console.WriteLine("Hello World"); Console.WriteLine(Environment.Version.ToString()); } }}namespace Microshaoft{ using System; using System.R... 阅读全文
posted @ 2012-06-28 23:59 于斯人也 阅读(1032) 评论(0) 推荐(0)
摘要:namespace Microshaoft{ using System; using System.Timers; public class EasyTimer { private Timer _timer; public void Start() { if (_timer != null) { _timer.Start(); } } private int _intervalSeconds; ... 阅读全文
posted @ 2012-06-16 23:05 于斯人也 阅读(521) 评论(0) 推荐(0)
摘要:namespace Microshaoft{ using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.IO; class Program { static void Main() { var noww = DateTime.Now; var xxx = DateTim... 阅读全文
posted @ 2012-05-11 22:58 于斯人也 阅读(279) 评论(0) 推荐(0)
摘要:/* * Source Code File Name: * Microshaoft.beautify.JScript.NET.js * Microshaoft invent for EditPlus user tool by using Microsoft JScript.NET"); * Thanks for "http://jsbeautifier.org/" supply \"https://github.com/einars/js-beautify\""); * JavaScript Source References: * 阅读全文
posted @ 2012-05-05 21:58 于斯人也 阅读(846) 评论(0) 推荐(0)
摘要:/* * Source Code File Name: * Microshaoft.beautify.CScript.js * Microshaoft invent for EditPlus user tool by using WScript"); * Thanks for "http://jsbeautifier.org/" supply \"https://github.com/einars/js-beautify\""); * JavaScript Source References: * https://github.com 阅读全文
posted @ 2012-05-05 21:46 于斯人也 阅读(1599) 评论(0) 推荐(0)
摘要:namespace Microshaoft.Web.ShareCache{ using System; using System.Linq; using System.Collections.Generic; using System.Threading; using ... 阅读全文
posted @ 2012-05-05 01:39 于斯人也 阅读(472) 评论(0) 推荐(0)
摘要:namespace ConsoleApplication{ using System; using System.Linq; using System.Collections.Generic; using System.Reflection; using Microshaoft; /// <summary> /// Class1 的摘要说明。 /// </summary> public class PerformanceCountersCategoryCreater { /// <summary> /// ... 阅读全文
posted @ 2012-05-04 23:34 于斯人也 阅读(323) 评论(0) 推荐(0)
摘要:namespace Test{ using System; using System.Threading; using System.Threading.Tasks; using Microshaoft; class Program { static void Main() { var q = new ConcurrentAsyncQueue<int>(); q.AttachPerformanceCounters("new"); Random random = ne... 阅读全文
posted @ 2012-04-29 06:48 于斯人也 阅读(293) 评论(0) 推荐(0)
摘要:namespace ConsoleApplication{ using System; using System.Linq; using Microshaoft; using Test.Share; public class Class1 { //[STAThread] static void Main(string[] args) { var c = "Test.Share.ComplexType"; var assembly = AppDomain.CurrentDom... 阅读全文
posted @ 2012-04-20 21:25 于斯人也 阅读(647) 评论(0) 推荐(0)
摘要:namespace Microshaoft{ using System; using System.Linq; using System.Reflection; using System.Collections.Generic; using System.Collections.Concurrent; using System.Linq.Expressions; public static class ObjectsTypesBytesHelper { public static byte[] ObjectToBytes<T> ... 阅读全文
posted @ 2012-04-17 01:37 于斯人也 阅读(323) 评论(0) 推荐(0)
摘要:namespace Microshaoft{ using System; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Concurrent; class Program { static void Main(string[] args) { var list = new List() ... 阅读全文
posted @ 2012-04-08 12:05 于斯人也 阅读(338) 评论(0) 推荐(0)
摘要:namespace Test{ using System; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; using System.Text; using System.Xml; using System.Xml.Serialization; using Microshaoft; using Test.Share; public class Class1 { static WebDirectory _wd = nu... 阅读全文
posted @ 2012-04-06 23:24 于斯人也 阅读(1060) 评论(0) 推荐(1)
摘要:namespace Microshaoft{ using System; using System.Linq; public class Class1 { static void Main(string[] args) { var entrys = new[] { new { ... 阅读全文
posted @ 2012-04-06 01:41 于斯人也 阅读(633) 评论(0) 推荐(0)
摘要://==========================================================================================================================/*csc /r:Share.dll Server.cs*/namespace Microshaoft.RemotingObjects.Server{ using System; using System.Threading; using System.Collections.Concurrent; using Microsh... 阅读全文
posted @ 2012-04-06 01:03 于斯人也 阅读(382) 评论(0) 推荐(0)
摘要:namespace Microshaoft{ using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Runtime.InteropServices; public static class CodeTimer { public static void Initialize() { Process.GetCurrentProcess().Prior... 阅读全文
posted @ 2012-04-04 02:37 于斯人也 阅读(287) 评论(0) 推荐(0)
摘要:namespace ConsoleApplication{ using System; using System.Reflection; using System.Reflection.Emit; using System.Collections.Generic; //using System.Text; using System.Linq; using System.Diagnostics; //using System.Linq.Expressions; using Microshaoft; /// <summary> //... 阅读全文
posted @ 2012-04-04 02:35 于斯人也 阅读(622) 评论(1) 推荐(0)
摘要:// csc test.cs /r:Google.ProtocolBuffers.dllnamespace ConsoleApplication{ using System; using System.IO; using System.Linq; using Google.ProtocolBuffers; using Microshaoft; /// <summary> /// Class1 的摘要说明。 /// </summary> public class Program { static void Main(str... 阅读全文
posted @ 2012-04-02 03:36 于斯人也 阅读(3943) 评论(0) 推荐(0)
摘要:using System.Runtime.CompilerServices;[assembly: InternalsVisibleTo(MsgPack.CompiledPacker.MethodBuilderPacker.AssemblyName)]//========================================================================================================//// Copyright 2011 Kazuki Oikawa//// Licensed under the Apache Licen 阅读全文
posted @ 2012-04-01 16:35 于斯人也 阅读(1477) 评论(0) 推荐(0)