title: Discard functionality of "/" in CultureInfo
body: <p>What property in <code>CultureInfo.InvariantCulture</code> helps to discard the functionality of <code>"/"</code>.</p>
  
  <p>I am having this problem because I have my customCulture. 
  and when I use it to format <code>DateTime</code> it replaces <code>"/"</code> with the culture Specific separator.</p>
  
  <p>So I want to know what property if I change in my <code>customCulture</code> the functionality of <code>"/"</code> will be discarded.</p>
  
  <p><strong>Let me clear my problem,</strong></p>
  
  <p>I want to export some data to a file with DateTime as specified by user.</p>
  
  <p>I am creating customCulture as follows</p>
  
  <pre><code>CultureInfo customCulture =  new CultureInfo(CultureInfo.CurrentCulture.Name);
  </code></pre>
  
  <p>I am taking the date format from the user and injecting it into my CustomCulture object as</p>
  
  <pre><code>customCulture.DateTimeFormat.ShortDatePattern = MyClass.DateFormatFromUser;
  </code></pre>
  
  <p>Now when I want to convert this to String pattern. I am doing it as follows,</p>
  
  <pre><code>string.Format(customCulture, "{0:G}", dateTimeValue);
  </code></pre>
  
  <p>Now the problem is String.Format replaces any "/" present in ShortDatePattern with <code>customCulture.DateTimeFormat.DateSeparator</code></p>
  
  <p><strong>For example</strong> if he user gives the format as </p>
  
  <blockquote>
    <p>dd/MM/yyyy</p>
  </blockquote>
  
  <p>and my current culture is <strong>faeroese</strong> ie., {fo-FO}</p>
  
  <p>For these I get output as 25-09-1990.</p>