Thank you very much for your replay ,
The line which you have mention (//test_sum.majid_class test = (test_sum.majid_class)Activator.CreateInstance(typeof(test_sum.majid_class));) is commented in my code.
Actual I have created object by using new.( test_sum.majid_class...