CSharp: AulaDemoDll.NamespaceC.ClassComIndex

From AdonaiMedrado.Pro.Br
Jump to: navigation, search
using System;
 
namespace AulaDemoDll.NamespaceC
{
    public class ClassComIndex
    {
        public int this[string index]
        {
            get
            {
                return index.Length;
            }
            set
            {
                ;
            }
        }
        public int this[int index]
        {
            get
            {
                return index++;
            }
            set
            {
                ;
            }
        }
 
        public ClassComIndex()
        {
 
        }
    }
}