Advertisement
vencinachev

Point

Feb 2nd, 2021
928
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace SoftuniSv
  8. {
  9.     public class Point
  10.     {
  11.         public double x;
  12.         public double y;
  13.         public string name;
  14.  
  15.         public void Print()
  16.         {
  17.             Console.WriteLine($"{name}({x}, {y})");
  18.         }
  19.     }
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement