title: Let method take any data type in c#
body: <p>I have a lot of unit tests that pretty much tests the same behavior. However, data type changes.</p>
  
  <p>I am trying to create a generic method that can take any data type. I tried making my input parameter var but that's not allowed. Also, looked into c# generics but that usually deals with a list.</p>