- 6
- 0
- 约6.27万字
- 约 101页
- 2019-08-16 发布于福建
- 举报
TreeView树视图控件 TreeView控件以树形结构的方式来显示数据。其目录的每个节点都有一个与之相关的TreeNode对象,每个TreeNode对象都包含一个Nodes和Level属性。通过TreeView控件可实现下图所示效果。 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace program06 { class Program06 { static void Main(string[] args) { TestFunc(1, 2, 3, 4); Console.ReadKey(); } public static void TestFunc(params int[] array) { for (int i = 0; i array.Length; i++) { Console.WriteLine(array[i]); // 循环打印出数组中的数据 } }
原创力文档

文档评论(0)