pedram

pedram

  • NA
  • 13
  • 9.7k

The wise way to define a string class

Apr 23 2013 7:02 AM
I wonder if you could tell me whether it is a wise way to declare a string class in C#:

 class Item 
    {  
        public
 string id = "";  
        public
 string name = "";  
        public
 string title = "";  
        public
 string value = "";  
        public
 string type = "";  
        public
 string tagname = ""
    }
 Their value is to be added in a program.

Answers (1)