Example #1
0
        static void Main(string[] args)
        {
            //System.Globalization.CultureInfo.

            Test1 t1 = new Test1();
            Test2 t2 = new Test2();

            t1.a = new List<List<float>>();
            t1.a.Add(new List<float>());
            t1.a.Add(new List<float>());

            t1.a[0].Add(1);
            t1.a[1].Add(2);

            t2.a = t1.a;

            t1.a.Clear();
            t1.a.Add(new List<float>());
            t1.a.Add(new List<float>());
            t1.a[0].Add(11);
            t1.a[1].Add(22);
            //t1.a.Add(2);

            foreach (var t in new Sample())
                Console.WriteLine(t);
            //Console.ReadKey();

            pmClasses.Collection cc = new pmClasses.Collection(5);

            cc.File.Load_TextFile("E:\\#Shared#\\43-219_pasha.exp(002)_s_pr_SF(T).txt"     , null);
            cc.File.Save_TextFile("E:\\#Shared#\\43-219_pasha.exp(002)_s_pr_SF(T)_text.txt", null);
        }
Example #2
0
        static void Main(string[] args)
        {
            //System.Globalization.CultureInfo.

            Test1 t1 = new Test1();
            Test2 t2 = new Test2();

            t1.a = new List <List <float> >();
            t1.a.Add(new List <float>());
            t1.a.Add(new List <float>());

            t1.a[0].Add(1);
            t1.a[1].Add(2);

            t2.a = t1.a;

            t1.a.Clear();
            t1.a.Add(new List <float>());
            t1.a.Add(new List <float>());
            t1.a[0].Add(11);
            t1.a[1].Add(22);
            //t1.a.Add(2);


            foreach (var t in new Sample())
            {
                Console.WriteLine(t);
            }
            //Console.ReadKey();

            pmClasses.Collection cc = new pmClasses.Collection(5);

            cc.File.Load_TextFile("E:\\#Shared#\\43-219_pasha.exp(002)_s_pr_SF(T).txt", null);
            cc.File.Save_TextFile("E:\\#Shared#\\43-219_pasha.exp(002)_s_pr_SF(T)_text.txt", null);
        }
Example #3
0
        static void Main(string[] args)
        {
            List<int> list = new List<int>();
            list.Add(1);
            list.Add(2);
            list.Add(3);

            list[0] = 1;
            list[1] = 2;
            list[2] = 3;

            System.Collections.Generic.List<int> asd = new List<int>();

            Collection<float> c1 = new Collection<float>();
            Collection<float> c2 = new Collection<float>(5);

            float val = c1.Values;
        }