Loading...
之前一直被这个问题所困扰,无意间找到这个方法,貌似可以解决转载自 https://blog.csdn.net/onejune2013/article/details/7664323最近从师兄手上接了一个 C# 的项目,需要用到 MDI 窗体,可是每当我显示子窗体的时候会有...
一直想偷下懒,不写递归遍历,谁知最后还是被现实教做人... private IEnumerable<TreeNode> FindTreeNod...
转载自 HONT blog1.绝对路径转相对路径绝对转相对似乎C#没有提供实现,需要自己写,这里摘选了一位博友的实现方法:string RelativePath(string absolutePath, string relativeTo) { ...
随着代码码的越多,越来越喜欢C# 的LINQ这个语法糖,用起来是真的爽,奈何记性不行,怕自己一段时间不用会忘记,这里记录一些常用的用法1 强制转换数组ca...
Config文件的名称可以自定义,不必限制为app.config.<?xml version="1.0" encoding="utf-8" ?> <configuration> <configSect...