title: Best place to store static error strings
body: <p>I was wondering if anyone had any input on the best practice of where to store static error strings in a C# application. I have a visual studio 2010 solution that has 5 projects and have defined several constant error messages to be returned via a WCF REST web service in the form of a message.</p>
  
  <p>My current errors I have defined (hard-coded) are in the following format (CODE, MESSAGE):</p>
  
  <p>999   -       Your request could not be processed with the parameters specified.</p>
  
  <p>I am not asking how to create custom classes derived from the Exception class because these errors are returned after corresponding Exceptions are raised to keep the AppPool from faulting. </p>
  
  <p>Some ideas I was pondering storing the messages in: XML, Flat File, SQLite, and so on.</p>
  
  <p>Does anyone have a preference and if so, why?</p>
  
  <p>Thank you,</p>
  
  <p>Jeffrey Kevin Pry</p>