I have a method Close()
in a class called X. I want to use that function in some other class called Y. I have created an object for class A and I call that Close()
function there. At that time I am getting an error "No Appropriate default constructor Available."
I have created it like this..
X x; x.Close();
How can I solve this?