Untitled
unknown
plain_text
a year ago
756 B
4
Indexable
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Interface { internal class Point : IPoint { public double X { get; set; } public double Y { get; set; } public Point(double x, double y) { X = x; Y = y; } public double distance => X *+ Y; } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Interface { internal interface IPoint { public double X { get; set; } public double Y { get; set; } public double distance { get; } } }
Editor is loading...
Leave a Comment