csharp/a1q123456/Harmonic/Harmonic/Networking/Amf/Serialization/Amf3/Amf3Array.cs

Amf3Array.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace Harmonic.Networking.Amf.Serialization.Amf3
{
    public clast Amf3Array
    {
        public Dictionary SparsePart { get; set; } = new Dictionary();
        public List DensePart { get; set; } = new List();

        
        public object this[string key]
        {
            get
            {
                return SparsePart[key];
            }
            set
            {
                SparsePart[key] = value;
            }
        }

        public object this[int index]
        {
            get
            {
                return DensePart[index];
            }
            set
            {
                DensePart[index] = value;
            }
        }
    }
}