title: How can I manually / programmatically create a DataRow?
body: <p>My project's codebase has a legacy method that takes a DataRow as a parameter for which I would like to create a unit test method.</p>
  
  <p>How can I manually create a DataRow object to pass to the method?  The <a href="https://msdn.microsoft.com/en-us/library/system.data.datarow.aspx" rel="noreferrer"><code>System.Data.DataRow</code></a> class doesn't have a public-facing constructor.</p>