
c# and .NET
文章平均质量分 66
xhinker
请访问我的正牌博客: xhinker.com
展开
-
对虚拟机中堆和栈错误理解的澄清(java/c#)
很多人都知道java的虚拟机中有堆和栈(还有method area 等),也知道对象实例存在于堆中,基本数据(primitive type)类型存在于栈中,且慢,很多人都被误导了。其实在虚拟机中存储数据的是堆,说栈用来存储数据是不妥当的。 假如说基本数据类型存储于栈中,那么,对象中的基本数据类型又怎么存储?也就是说,即便是primitive value在原创 2008-07-30 21:23:00 · 647 阅读 · 0 评论 -
Change expired password in AD with C# (使用c# 更改AD 中过期密码)
Question: Hello,Im looking for a solution to completely replace iisadmpwd with a pure ASP.NET 2.0 solution.We are using windows authentication with a web application.If the users password is原创 2009-01-12 17:30:00 · 2006 阅读 · 0 评论 -
Creating and Using Strong-Named Assemblies
.NET Framework Developers Guide Creating and Using Strong-Named Assemblies A strong name consists of the assemblys identity—its simple text name, version number, and culture informa转载 2009-01-22 10:15:00 · 738 阅读 · 0 评论 -
TOP 25 Most Dangerous Programming Errors
Experts Announce Agreement on the 25 Most Dangerous Programming Errors - And How to Fix ThemAgreement Will Change How Organizations Buy Software.Project Manager: Bob Martin, MITREQuestions: top2转载 2009-01-22 11:12:00 · 2762 阅读 · 0 评论 -
使用C# 发送Email
using System;using System.Net;using System.Net.Mail;class SendEmailWithCS { public string SendMail() { MailMessage mail = new MailMessage(); mail.To.Add("v-a原创 2009-02-24 10:31:00 · 1422 阅读 · 0 评论 -
DotNET 4.0 新增内容总结(一)
1. 新的CLR4 2. 新加的类 3. 根据契约设计(Design By Contract) 4. Type Equivalence1. 新的CLR42. 新加的类 a. BigInteger:System.Numerics.BigInteger. 一个可以代表任意长度整数的类型. 尝试运行这段代码原创 2009-08-23 10:54:00 · 1662 阅读 · 0 评论