mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-04 13:57:37 +00:00
Initial commit
This commit is contained in:
parent
17ad36d6ad
commit
3d241b2154
44 changed files with 1619 additions and 0 deletions
15
vs4win/Chapter09/Ch09Ex02SerializingShapes/Rectangle.cs
Normal file
15
vs4win/Chapter09/Ch09Ex02SerializingShapes/Rectangle.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
namespace Packt.Shared;
|
||||
|
||||
public class Rectangle : Shape
|
||||
{
|
||||
public override double Area
|
||||
{
|
||||
get
|
||||
{
|
||||
return Height * Width;
|
||||
}
|
||||
}
|
||||
|
||||
public double Height { get; set; }
|
||||
public double Width { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue