Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication1
- {
- public class CD
- {
- private string artist, titel, genre, skivbolag;
- private int utgivningsår, antallåtar;
- private double speltid;
- public CD()
- {
- }
- public CD(string artist, string titel, string genre, int utgivningsar,
- string skivbolag, int antallatar, double speltid)
- {
- artistText = artist;
- }
- public String Artist
- {
- get { return artistText; }
- set { artistText = value; }
- }
- public void printBrief()
- {
- Console.WriteLine(artist());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement