![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 52
andy_212
这个作者很懒,什么都没留下…
展开
-
C#中引用类型做方法参数时,加ref或out,与不加ref或out到底有什么区别?
如果不用ref传递的是原引用变量的副本,即把原来的引用变量复制一分传递给方法;如果用ref传递的是原引用变量的引用. class a { int val; } class test { public static void Main() {原创 2009-04-08 13:33:00 · 4070 阅读 · 2 评论 -
Visual Studio使用DebuggerBrowsable和DebuggerDisplay自定义调试窗体
2011-10-25 09:46 Visual Studio使用DebuggerBrowsable和DebuggerDisplay自定义调试窗体使用DebuggerBrowsable特性可以自定义调试窗体。使用DebuggerDisplay特性可以自定义调试信息的显示。要使用这些特性,需要引用System.Diagnostics命名空间。技巧1、使用Debugg原创 2012-09-25 15:54:04 · 2004 阅读 · 0 评论 -
Visual Studio 2010 主题文件 保护眼睛
http://studiostyl.es/原创 2012-07-28 16:09:31 · 1776 阅读 · 1 评论 -
C# TextBox中只能输入数字的几种常用方法(C#)
private void tBox_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 0x20) e.KeyChar = (char)0; //禁止空格键 if ((e.KeyChar == 0x2D) && (((TextBox)sender).T原创 2012-07-22 16:31:06 · 772 阅读 · 0 评论 -
Visual Studio: Track Active Item in Solution Explorer
原创 2012-05-28 14:14:35 · 552 阅读 · 0 评论 -
FxCop介绍
FxCop是一个代码分析工具,它依照微软.NET框架的设计规范对托管代码assembly(可称为程序集,assembly实际上指的就是.net中的.exe或者.dll文件(不包括netmodule文件),这种文件中包含四种信息:assembly的清单(包括引用外部的assembl转载 2011-08-30 16:40:31 · 570 阅读 · 0 评论 -
Unit test, lack of the dlls
When you run unit test by NUnit, some times, it will say that "Some of the *.dll or its dependency could not be found", this time you should原创 2011-08-26 14:35:21 · 367 阅读 · 0 评论 -
ReSharper5.1注册码
使用ReSharper插件能够进行代码简化和智能提示Resharper 5.1 注册码User Name: UserKey: D9d09DSYJel9IyuDU4btAQwZcbLugUad原创 2011-08-21 16:25:48 · 1584 阅读 · 0 评论 -
Dynamic Code Generation using CodeDOM
http://www.codeproject.com/KB/cs/DynamicCodeGeneration.aspxDynamic Code Generation Why generate code? As the name suggests, dynamic co转载 2011-08-18 09:41:11 · 1044 阅读 · 0 评论 -
Can not run Dotfuscator 4.4-----Reference not set to an object.
I have installed only Visual Studio 2010, and Dotfuscator 4.4. Then I register the software Dotfuscator 4.4.But when I run Dotfuscator 4.4, an error message always appear "Reference not set to an object.", and the build is terminated.I uninstall/install my原创 2010-11-23 17:58:00 · 626 阅读 · 0 评论 -
"Not enough storage is available to process the command."
今天我想打开一个control, 但是vs2005老报错: "Not enough storage is available to process the command.",编译能通过,即使我重启机子也是这样。 Solution:1.commnet some lines in the load() of the Control2.rebuild3.uncommnet some原创 2009-11-18 20:41:00 · 1998 阅读 · 0 评论 -
.sln文件和.suo文件的解释
Visual Studio.NET采用两种文件类型(.sln和.suo)来存储特定于解决方案的设置它们总称为解决方案文件为解决方案资源管理器提供显示管理文件的图形接口所需的信息从而在每次继续开发任务时,不会因开发环境而分散精力;*.sln:(Visual Studio.Solution) 通过为环境提供对项目、项目项和解决方案项在磁盘上位置的引用,可将它们组织到解决方案中。比如原创 2009-05-06 15:33:00 · 690 阅读 · 0 评论 -
Visual Assist X 破解补丁
http://blog.chinaunix.net/u1/37897/showart_460239.html 装了visual studio 2005,下载了最新版的visual assisit x,费劲周折找到了破解补丁,共享之,需者请取。 文件:VA_X.10.4.1619.crack.rar大小:1253KB下载原创 2009-04-12 22:45:00 · 822 阅读 · 0 评论 -
C# (float) cast is costly for speed if not used appropriately
Id like to share findings regarding C# (float) cast.As we convert double to float, we found several slow down issues.We realized C# (float) cast can be costly if not used appropriately.--------------转载 2009-04-14 19:14:00 · 517 阅读 · 0 评论 -
Building MAPI Applications on 32-Bit and 64-Bit Platforms
https://msdn.microsoft.com/en-us/library/dd941355(office.14).aspxBuilding MAPI Applications on 32-Bit and 64-Bit PlatformsOffice 2010Other VersionsLast转载 2015-05-16 13:59:06 · 486 阅读 · 0 评论