26 lines
485 B
C#
26 lines
485 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Lab1
|
|
{
|
|
abstract class ParkingType
|
|
{
|
|
struct test
|
|
{
|
|
decimal test2;
|
|
}
|
|
decimal _parkingRate = 2.00M;
|
|
public decimal ParkingRate
|
|
{
|
|
get { return _parkingRate; }
|
|
set { _parkingRate = value; }
|
|
}
|
|
|
|
abstract public decimal Calculate(decimal hours);
|
|
|
|
}
|
|
}
|