Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 20 Interfacesprevious at this levelnext at this level 20.3 Fully qualified interface member names Paragraph 11 An interface member is sometimes referred to by its fully qualified name. 2 The fully qualified name of an interface member consists of the name of the interface in which the member is declared, followed by a dot, followed by the name of the member. 3 The fully qualified name of a member references the interface in which the member is declared. [Example: For example, given the declarations
interface IControl  
{  
   void Paint();  
}  
interface ITextBox: IControl  
{  
   void SetText(string text);  
}  
the fully qualified name of Paint is IControl.Paint and the fully qualified name of SetText is ITextBox.SetText. In the example above, it is not possible to refer to Paint as ITextBox.Paint. end example]
Paragraph 21 When an interface is part of a namespace, the fully qualified name of an interface member includes the namespace name. [Example: For example
namespace System  
{  
   public interface ICloneable  
   {  
      object Clone();  
   }  
}  
Here, the fully qualified name of the Clone method is System.ICloneable.Clone. end example]
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS