![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 76
Sev_ran
这个作者很懒,什么都没留下…
展开
-
C#字符串的几种加密解密方法
/// /// 字符串加密组件/// public class Encrypt{ #region "定义加密字串变量" private SymmetricAlgorithm mCSP; //声明对称算法变量 private const string CIV = "Mi9l/+7Zujhy12se6Yjy111A"; //初始化向量 pri转载 2012-07-06 16:10:02 · 11556 阅读 · 0 评论 -
C#中常用异常类总结
C#异常类一、基类ExceptionC#异常类二、常见的异常类1、SystemException类:该类是System命名空间中所有其他异常类的基类。(建议:公共语言运行时引发的异常通常用此类)2、ApplicationException类:该类表示应用程序发生非致命错误时所引发的异常(建议:应用程序自身引发的异常通常用此类)C#异常类三、与参数有关的异常类此类异常类均派生于S转载 2012-07-17 09:34:54 · 4900 阅读 · 0 评论