CreateCompanyProfile(txtcompanyname.Text, imgBinaryData, txtcompanytagline.Text, txtcompanyprof.Text, companyestd, companyempcount, txttype.Text, txttelephone.Text, txtemail.Text, txtfax.Text, txtaddress.Text,txturl.Text,txtmanagername.Text,txtmanagerdesign.Text,txtmanagerprofile.Text, txtclients.Text, txthrname.Text, txthrdesign.Text, txthremail.Text);
i am calling this method as
public void CreateCompanyProfile( string ComName, byte[] imgbin, string ComTagLine, string ComProfile, int ComEstd, int ComEmpCount, string ComType, string ComTelephone, string ComEmail, string ComFax, string ComAddress, string ComURL, string strmangername, string strmanagerdesign, string strmanagerprof, string ComClients, string CreaterName, string CreaterDesig, string CreaterMailID )
at this time iam getting 1
error :member names cannot be the same as their enclosing type
c#
please help me ,what is the cause of this error?