c# multi structured classes
<p>I'm new to C# and have a question regarding classes.  At the moment I use simple classes for example:</p>

<pre><code>public class Core
{
   public double Parameter1;
   public double Parameter2;

   public double Calc1()
   {
      return(Parameter1 * Paramater2);
   }
}
</code></pre>

<p>In my main code I then create an object of the class, and use it as follows:</p>

<pre><code>Core core = new Core();
core.Parameter1 = 2;
core.Parameter2 = 3;
double x = core.Calc1();
</code></pre>

<p>Now my question is, how do I structure classes to have for example the following functionalities:</p>

<pre><code>core.Calculations.Calc1();
core.Calculations.Calc2();
</code></pre>

<p>At the moment I can only have core.Calc1() etc not core.Calculations.Calc1();</p>

<p>I use code such as the following many times from existing libraries, and I need to do the same:</p>

<pre><code>zedDistVectorAAR.AccessibilityObject.Bounds.Bottom.CompareTo();
</code></pre>

<p>I have no idea how to structure such classes.</p>

<p>I have tried all types of classes from nested to everything in the book but I cannot get a structure such as the above one.  Since it is used everywhere I'm missing something.  I have really looked through many articles and books but my lack of formal IT education and lack of the correct terminologies are really getting me down.</p>

<p>For example what I want to do is I want to have a class, that can give me different price quotes:</p>

<pre><code>double open = data.Financial.Open;
double close = data.Financial.Close;
</code></pre>

<p>How can I achieve this?</p>

<p>Any help will be appreciated :)</p>
