try cast object to type c#. There are any references about try cast object to type c# in here. you can look below.