Difference between revisions of "CSharp: AulaDemoDll.NamespaceC.ClassComIndex"

From AdonaiMedrado.Pro.Br
Jump to: navigation, search
(New page: <code lang="csharp"> using System; namespace AulaDemoDll.NamespaceC { public class ClassComIndex { public int this[string index] { get { ...)
 
(No difference)

Latest revision as of 12:10, 11 November 2008

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()
        {
 
        }
    }
}