摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace IntToStringAndStringToInt 8 { 9 class Program... 阅读全文
posted @ 2017-11-02 17:30 美美美少女 阅读(185) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace GetMedian 8 { 9 class Program 10 { 11 ... 阅读全文
posted @ 2017-11-02 17:29 美美美少女 阅读(213) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace EvaluateReversePolishNotation 8 { 9 ... 阅读全文
posted @ 2017-11-02 17:27 美美美少女 阅读(272) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ValidParentheses { // 如果不存在星号,我们甚至连stack都可以不用,直接用一个变量,遇到左括号,自增1,遇到右括... 阅读全文
posted @ 2017-11-02 17:25 美美美少女 阅读(225) 评论(0) 推荐(0)
摘要: 特性:它是一棵空树或它的左右两个子树的高度差的绝对值不超过1,并且左右两个子树都是一棵平衡二叉树,同时,平衡二叉树必定是二叉搜索树,反之则不一定。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.T... 阅读全文
posted @ 2017-11-02 17:15 美美美少女 阅读(198) 评论(0) 推荐(0)
摘要: 1、简述 private、 protected、 public、 internal 修饰符的访问权限。 private : 私有成员, 在类的内部才可以访问。 protected : 保护成员,该类内部和继承类中可以访问。 public : 公共成员,完全公开,没有访问限制。 internal: 当 阅读全文
posted @ 2017-11-02 16:17 美美美少女 阅读(541) 评论(0) 推荐(0)
摘要: 1. Thread和Process之间有什么区别?.NET新引入了Application Domain的概念,这样他们三个之间有什么区别?引入了Application Domain会带来一些潜在的问题么? Thread是线程,Process是进程,一个进程中可以有多个线程。 Process是进程,是 阅读全文
posted @ 2017-11-02 15:01 美美美少女 阅读(400) 评论(0) 推荐(0)