title: EditorTemplates > bool - bool.cshtml, DateTime? - DateTime?.cshtml (fail)
body: <p><strong>Without using "UIHint"</strong> how to create .cshtml for certain types of data.   </p>
  
  <h1>Examples</h1>
  
  <h2>These are already working!</h2>
  
  <pre><code>[DataType(DataType.Url)]
  public string Link { get; set; }
  </code></pre>
  
  <p>will be used</p>
  
  <pre><code>Url.cshtml
  </code></pre>
  
  <hr>
  
  <pre><code>[DataType(DataType.MultilineText)]
  public string Descrition { get; set; }
  </code></pre>
  
  <p>will be used</p>
  
  <pre><code>MultilineText.cshtml
  </code></pre>
  
  <h2>These, I am in doubt about how</h2>
  
  <pre><code>public IEnumerable&lt;SelectListItem&gt; TypesList { get; set; }
  </code></pre>
  
  <p>will be used</p>
  
  <pre><code>???????????.cshtml
  </code></pre>
  
  <hr>
  
  <pre><code>public DateTime? DateUpdated { get; set; }
  </code></pre>
  
  <p>will be used</p>
  
  <pre><code>???????????.cshtml
  </code></pre>
  
  <hr>
  
  <pre><code>public int? Order { get; set; }
  </code></pre>
  
  <p>will be used</p>
  
  <pre><code>???????????.cshtml
  </code></pre>
  
  <h1>Questions</h1>
  
  <p>In short, do not want to be putting in my ViewModel attributes, like that would work exactly like "Url" and "Multiline"</p>
  
  <p>What should be the file name <code>.cshtml</code> that will be used to <code>int?</code>, <code>IEnumerable&lt;xx&gt;</code> or <code>IEnumerable&lt;string&gt;</code></p>
  
  <pre><code>Remembering that you can not create files with "&lt;", "&gt;" or "?"
  </code></pre>