相关分类: Java技术 C/C++ VB delphi
  • C#基础知识回顾:1.由WeakReference想到对象的创建与

    .Net Framework中,把资源分为托管资源和非托管资源两大类, 托管资源指可以通过.Net Frame垃圾回收器进行回收的资源,主要是指分配在托管堆上你的内存资源,这类资源的回收是不需要人工干预,.Net Framework的垃圾回收器会在合适的时刻进行回收,程序也可以主动调用GC...

    2018-06-18 03:57:57

  • .net自定义错误页面实现升级篇

    问题描述: 在上一篇博文 “.net自定义错误页面实现” 中已经介绍了在.net中如何实现自定义错误页面实现(有需要者可以去上一篇博文了解),单纯按照上一篇博文那样设置,能够实现所有请求的异常自定义跳转,但是这样又会产生一个问题:当通过ajax提交请求获取接口提交...

    2018-06-18 03:57:45 js技术

  • 编程语言及计算机硬件基础

    1、什么是编程语言? 程序员与计算机沟通的介质 2、什么是编程? 程序员基于某种编程语言的语法格式将想让计算机所做的事写到文件中让计算机执行,编程的结果就是文件,文件的内容就是程序; 3、为什么要编程? 让计算机代替人类工作,解放人力 4,、计算机硬件基础 (1...

    2018-06-18 03:57:52

  • FastReport.Net

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using FastReport;using FastReport.Data;using FastReport.Editor;using FastReport.Design;usin...

    2018-06-18 03:57:38

  • .net 公共基础类

    using WL.Infrastructure.Http;using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Text.RegularExpressions;using System.Web;using System.Drawing;using System.Drawing.Imaging;using System.Drawi...

    2018-06-18 03:57:42

  • 匿名对象解析

    class Program { static void Main(string[] args) { Listobject obj = new Listobject(); obj.Add(new { aa=1,bb=1}); obj.Add(new { aa = 1, bb = 2 }); var objs = obj.Select(t = t.Cast(new { aa = 0, bb = 0 })).ToList(); Console.ReadKey(); } } static class...

    2018-06-18 03:57:37

  • 事件管理

    using System; using System.Collections.Generic; namespace CustomUtils{ /// summary /// 事件管理器 /// /summary public class EventManager { private readonly static Dictionary string , ActionEventMessageArgs eventTask = new Dictionary string , ActionE...

    2018-06-18 03:57:36

  • c# 项目之间循环引用vs弹窗提醒

    circular dependencies in projects' graph ! Projects in cycle are:ProjectImp(Name:FrameWork.Entity,PlatformId:'.NETFramework,Version=v4.6') ProjectlImpl(Name :FrameWork.Interface, PlatformId: '.NET Framework,Versio=v4.6') 报这种错误就是循环引用的问题...

    2018-06-18 03:57:36

  • C# 输出字符串到文本文件中

    写个博客记录下,方便以后使用: public class WriteHelper { public static void WriteFile( object data) { try { string path = $ @" D:\TokenLog\day{DateTime.Now:yyyy-MM-dd} " ; var filename = $ " TokenLog{DateTime.Now:yyyy-MM-dd HH}.txt " ; if (! Direct...

    2018-06-18 03:57:27

  • ASP.NET MVC 学习笔记-7.自定义配置信息

    ASP.NET程序中的web.config文件中,在appSettings这个配置节中能够保存一些配置,比如, 1 appSettings 2 add key= " LogInfoProvider " value= " Cookie " / // 登录信息保存方式 3 /appSettings 但是这些配置都是单个字符串信息,在某些情况下,无法做到灵活配置。...

    2018-06-18 03:57:31

2