Advertisement
rivalcoba

Rec Challange Main Program

May 4th, 2020
1,246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.49 KB | None | 0 0
  1. using System;
  2. using Acuarela.Primitives;
  3. class Programa
  4. {
  5.     //METODO
  6.     static void Main()
  7.     {
  8.         Console.Clear();        
  9.         // Creando un pixel
  10.         iPixel pix1 = new iPixel(10,30);
  11.         Console.WriteLine("pix1: x={0}, y={1}", pix1.X, pix1.Y);
  12.         iPixel pix2 = new iPixel(100,34);
  13.         Console.WriteLine("pix1: x={0}, y={1}", pix2.X, pix2.Y);
  14.         iPixel pix3 = new iPixel(45,51);
  15.         Console.WriteLine("pix1: x={0}, y={1}", pix3.X, pix3.Y);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement