title: Using c#, How can I take benefit of using nullable valuetypes when I have a variable of object type?
body: <p>Using c#, How can  I take benefit of using nullable value types when I have a variable of object type?</p>
  
  <p>For example, I have a method Insert within a class which takes 4 arguments: </p>
  
  <pre><code>public int Update(Int32 serial, object deliveryDate, object quantity, object shiftTime)
  {
      ....
      ....
      ....
  }
  </code></pre>
  
  <p>As you can guess, this method inserts a new record in a table. The table (Table1), has 4 colums: Serial int, DeliveryDate DateTime null, Quantity float  not null and ShiftTime smallint null</p>
  
  <p>Now, my quastion is : how can I take benefit of using nullable valuetypes and also ho can I convert object to my desirable types like DateTime?</p>
  
  <p>Thank you</p>