CSharp: AulaDemoDll.NamespaceC.ClassComIndex

From AdonaiMedrado.Pro.Br
Revision as of 12:10, 11 November 2008 by Adonaimedrado (Talk | contribs) (New page: <code lang="csharp"> using System; namespace AulaDemoDll.NamespaceC { public class ClassComIndex { public int this[string index] { get { ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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()
        {
 
        }
    }
}