title: C# Triangle type calculation and area calculation
body: <p>I am trying to solve or be pointed in the right direction. I am having difficulty determining where to place my Area formula in the Triangle Class (not the main). Area can only have a 'get' and not a 'set'.</p>
  
  <p>Next issue is identifying the type of triangle based on the inputed side and if it is a 'right' triangle, appending the 'type' with '-right' for example (isosceles-right). I have an enum for the triangle types. </p>
  
  <p>I'm not looking for the direct answer to solve this but rather some help and coaching to help better build my skills</p>
  
  <p>Here is the class structure I have generated so far in C#, please keep in mind it is not complete. </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using TriangleCheck;
  
  namespace TriangleCheck
  {
      public class Triangle
      {
          private StringBuilder _ErrorMsg;
          private int[] _Sides;
          private const int _nSides = 3;
          private int _Area;
  
          public Triangle(int[] Sides)
          {
              //Track amunt of errors recieved.
              int nErrors = 0;
  
              //Make sure ErrorMsg is cleared
              _ErrorMsg = new StringBuilder();
  
              //Did I get _nSides? If not, append to ErrorMsg and throw exception
              if(Sides.Length != _nSides)
              {
                  _ErrorMsg.Append(string.Format("Expected {0} sides but recieved {1}", _nSides, Sides.Length));
                  nErrors += 1;
              }
  
              //Is each side positive? If not, append to ErrorMsg and throw exception
              for (int i = 0; i &lt; Sides.Length; i++)
              {
                  if (Sides[i] &lt;= 0)
                  {
                      _ErrorMsg.Append(string.Format("{0} side is not a postive integer", Sides[i]));
                      nErrors += 1;
                  }
              }
  
              //Set input from user to private property _Sides
              _Sides = Sides;
              _Area = Area;
          }
  
          public int Area
          {
              get { return _Area; }
              private set
              {
                  int parameter = 
              }
          }
  
  
          public string ErrorMsg
          {
              get
              { return ErrorMsg.ToString();}
          }
  
          public bool IsRight
          {
              get
              {
                  return ;
              }
          }
  
          public int Sides
          {
              get
              { return _Sides; }
  
              set
              {
                  if (value &gt; 0)
                  {
                      _Sides = value;
                  }
                  else
                      throw new ArgumentOutOfRangeException("Value must be postive!");
              }
          }
  
          public TriangleTypes TriangleTypes
          {
              get
              {
                  throw new System.NotImplementedException();
              }
  
              set
              {
              }
          }
  
          public void ScaleUp(int[] ScaleFactor)
          {
              throw new System.NotImplementedException();
          }
  
          public override string ToString()
          {
              return "A Triangle with sides " + _Sides + " is Type: " + TriangleTypes + " with Area:" + Area;
          }
      }
  }
  </code></pre>