title: How to override List.Add method?
body: <p>Currently I have a error logging class like so:</p>
  
  <pre><code>public class Log
  {
      public enum LogTypes
      {
          Info = 1,
          Error = 2,
          Warning = 3
      }
  
  
      public string Message { get; set; }
      public LogTypes LogType { get; set; }
  
  
      public Log(string Message, LogTypes LogType)
      {
          this.Message = Message;
          this.LogType = LogType;
      }
  </code></pre>
  
  <p>I have this initialiser for a new list:</p>
  
  <pre><code>List&lt;Log&gt; LogList = new List&lt;Log&gt;();
  </code></pre>
  
  <p>How can I use <code>LogList.Add(Message, LogType)</code> instead of <code>LogList.Add(new Log(Message, LogType));</code>?</p>
  
  <p>I know it is a minor change but I am still learning C# and am curious. Thanks!</p>