Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            JsonPref j = new JsonPref();

            int[]    aaa = new int[] { 78, 9, 12 };
            double[] bbb = new double[] { 0.7, 0.01, 0.12 };
            string[] ccc = new string[] { "eee", "sfskjbF", "13" };
            j.SetIntArray("aa", aaa);
            j.SetDoubleArray("bb", bbb);
            j.SetStringArray("cc", ccc);

            MessageBox.Show(j.ToJson());
        }