Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class tag
- {
- private string _title, _artist, _album, _comment,_year, _genere;
- private string _id = "TAG";
- public string Title
- {
- get { return this._title.Replace(" ",""); }
- set { this._title = value; }
- }
- public string Artist
- {
- get { return this._artist.Replace(" ", ""); }
- set { this._artist = value; }
- }
- public string Album
- {
- get { return this._album.Trim(); }
- set { this._album = value; }
- }
- public string Year
- {
- get { return this._year ; }
- set { this._year = value; }
- }
- public string Comment
- {
- get { return this._comment.Trim(); }
- set { this._comment = value; }
- }
- public string Genre
- {
- get { return this._genere.Trim(); }
- set { this._genere = value; }
- }
- public string Id
- {
- get { return this._id; }
- }
- public override string ToString()
- {
- string str;
- str = Id + Title + Artist + Album + Year + Comment + Genre;
- return str;
- }
- }
- }
Add Comment
Please, Sign In to add comment