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;
- using System.Threading.Tasks;
- using System.Xml.Serialization;
- namespace ConsoleApplication19
- {
- [Serializable]
- [XmlInclude(typeof(ListOfFigures<Geometry>))]
- public abstract class Geometry : IGeometry
- {
- [XmlAttribute]
- public double diameter
- {
- get;
- private set;
- }
- [XmlAttribute]
- public double square
- {
- get;
- private set;
- }
- public abstract int CompareTo(object obj);
- public abstract string toString();
- public Geometry() { }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement