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