Advertisement

C#基础知识学习List

阅读量:
复制代码
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    
    namespace UseListT
    {
    class Program
    {
        static void Main(string[] args)
        {
            //UseForeach( );
            //UseSort( );
            UseFinds( );
            //UseRemoves( );
            Console.ReadKey();
        }
    
        static void AddInsertList()
        {
            int[] ary1 = new int[] { 1, 3, 7 };     //创建两个int数组ary1和ary2备用
            int[] ary2 = new int[] { 2, 4, 6 };
            List<int> intLst = new List<int>( );    //创建int类型的

全部评论 (0)

还没有任何评论哟~