Movie
unknown
csharp
a year ago
714 B
3
Indexable
namespace VideoStore
{
public class Movie
{
public static readonly int CHILDRENS = 2;
public static readonly int REGULAR = 0;
public static readonly int NEW_RELEASE = 1;
private string _title;
private int? _priceCode;
public Movie(string title, int? priceCode)
{
_title = title;
_priceCode = priceCode;
}
public int? GetPriceCode()
{
return _priceCode;
}
public void SetPriceCode(int? arg)
{
_priceCode = arg;
}
public string GetTitle()
{
return _title;
}
}
}
Editor is loading...
Leave a Comment