public interface IShape { decimal Area(); } public struct Rectangle : IShape { public decimal Length { get; set; } public decimal Width { get; set; } public decimal Area() { return Length * Width; } }
友情链接: json在线解析 通晓查询 糯晒黄历 姓名打分