Add a more functional (i.e. fewer-stubs) implementation of System.Data.Linq.
[mono.git] / mcs / docs / ecma334 / 17.2.6.xml
1 <?xml version="1.0"?>
2 <clause number="17.2.6" title="Nested types">
3   <paragraph>A type declared within a class or struct is called a nested type. A type that is declared within a compilation unit or namespace is called a non-nested type. <example>[Example: In the following example: <code_example><![CDATA[
4 using System;  
5 class A  
6 {  
7    class B  
8    {  
9       static void F() {  
10          Console.WriteLine("A.B.F");  
11       }  
12    }  
13 }  
14 ]]></code_example>class B is a nested type because it is declared within class A, and class A is a non-nested type because it is declared within a compilation unit. end example]</example> </paragraph>
15 </clause>