declare multiple class members in single access specifier

Aug 13 2013 2:26 AM
This is my class members i want to declare this in to single public function 

 string DesignationName, string ShortName, string Remarks, int CreatedUserID, DateTime CreatedDate, int ModifiedUserID, DateTime ModifiedDate, bool IsDeletable, bool IsEditable
eg like : 

Public :
String Designation;
string shortname;
string Remarks;
int Crated Date

instead of
 public string Designation;
public string shortname;
public Remarks;


 string DesignationName, string ShortName, string Remarks, int CreatedUserID, DateTime CreatedDate, int ModifiedUserID, DateTime ModifiedDate, bool IsDeletable, bool IsEditable

Answers (2)