csharp int cast error

Code Example - csharp int cast error

                
                        int a = Convert.ToInt32(obj);