C# 基础
问道生
不会程序的美术,不是好策划
展开
-
C# 用数组模拟链表
public class SimulationList { private int[] data = new int[31]; private int[] right = new int[31]; //清除链表 public void Clear () { int i = 0; ...原创 2018-10-29 15:04:34 · 239 阅读 · 0 评论 -
C# 泛型实现链表 (借鉴别人的文章 自己实现了一遍,添了点功能函数)
public class MyLinkList<T> { private Node<T> head; public Node<T> Head { set { head = value; } get { return head; } } ...原创 2018-10-29 15:25:00 · 368 阅读 · 0 评论 -
C# 寻路,深度优先和广度优先
using System; namespace helloWorld { public class FindingWay { int min = 99999; public int Min { get { return min; } } int[, ] data, book; int...原创 2018-11-12 14:11:32 · 1037 阅读 · 0 评论 -
C# 二叉树
using System; using System.Collections; namespace helloWorld { // 二叉树的实现 public class Tree<T> { private TreeNode<T> head; public TreeNode<T> Head { ...原创 2018-11-15 10:26:37 · 1567 阅读 · 0 评论