上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 65 下一页
摘要: // Get and set thread's current principal (for role based security). // 获取并设置线程的当前主体(用于基于角色的安全性)。 public static IPrincipal CurrentPrincipal { [System. 阅读全文
posted @ 2021-11-22 13:48 vba是最好的语言 阅读(202) 评论(0) 推荐(0) 编辑
摘要: C#中线程占用内存过大解决方法 项目中用到了多线程,而且是1000线程并发运行,发现内存占用过高,于是对项目里用到的对象逐个测试,发现是线程对象占用内存 Thread[] threads = new Thread[1000]; for(int i = 0; i) { (threads[i] = ne 阅读全文
posted @ 2021-11-22 13:21 vba是最好的语言 阅读(292) 评论(0) 推荐(0) 编辑
摘要: namespace System.Threading { using System.Security.Permissions; using System.Threading; using System.Runtime.InteropServices; [ComVisibleAttribute(fal 阅读全文
posted @ 2021-11-22 11:23 vba是最好的语言 阅读(43) 评论(0) 推荐(0) 编辑
摘要: public sealed class Thread : CriticalFinalizerObject, _Thread { [System.Security.SecuritySafeCritical] // auto-generated public Thread(ThreadStart sta 阅读全文
posted @ 2021-11-22 11:17 vba是最好的语言 阅读(114) 评论(0) 推荐(0) 编辑
摘要: [ClassInterface(ClassInterfaceType.None)] [ComDefaultInterface(typeof(_Thread))] [ComVisible(true)] public sealed class Thread : CriticalFinalizerObje 阅读全文
posted @ 2021-11-22 10:37 vba是最好的语言 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 依赖于抽象而不依赖与实现 依赖于抽象而不依赖与实现,并不难理解。比方说我们需要一个东西来盛水,这个东西只要有盛水的功能就行了,我们并不关心它是马克杯,乐扣杯,或者是解放牌大瓷缸,甚至是尿壶,这个能盛水的东西便是抽象(我们在脑海里只有一个概念,却没有实物),而马克杯或者其他的具体实物便是抽象的实现,面 阅读全文
posted @ 2021-11-22 10:16 vba是最好的语言 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 地址: .NET Core使用NPOI导出复杂,美观的Excel详解 - 追逐时光者 - 博客园 (cnblogs.com) 阅读全文
posted @ 2021-11-22 09:48 vba是最好的语言 阅读(82) 评论(0) 推荐(0) 编辑
摘要: public static IEnumerable<TSource> Where<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { if (source == null) { ThrowHelper 阅读全文
posted @ 2021-11-20 15:21 vba是最好的语言 阅读(42) 评论(0) 推荐(0) 编辑
摘要: public class MyList<T> { private int _size; internal T[] _items; // Do not rename (binary serialization) private static readonly T[] s_emptyArray = ne 阅读全文
posted @ 2021-11-20 13:51 vba是最好的语言 阅读(54) 评论(0) 推荐(0) 编辑
摘要: // Gets the length of this string // // This is an intrinsic function so that the JIT can recognise it specially // and eliminate checks on character 阅读全文
posted @ 2021-11-20 11:57 vba是最好的语言 阅读(90) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 65 下一页