Advertisement
FHRL

círculos V0.0.1 (esqueleto)

Feb 28th, 2022 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.93 KB | None | 0 0
  1. /*
  2.  * Created by SharpDevelop.
  3.  * User: Usuario
  4.  * Date: 28/02/2022
  5.  * Time: 08:25 p. m.
  6.  * Version: 0.0.1
  7.  * To change this template use Tools | Options | Coding | Edit Standard Headers.
  8.  */
  9. using System;
  10.  
  11. namespace Actividad_1
  12. {
  13.     /// <summary>
  14.     /// Description of circulos.
  15.     /// </summary>
  16.     public struct circulos : IEquatable<circulos>
  17.     {
  18.         string identificador;
  19.         Point centro=new Point(xCentro,yCentro);
  20.         int radio=xFin-xCentro;
  21.         #region Equals and GetHashCode implementation
  22.         public override bool Equals(object obj)
  23.         {
  24.             if (obj is circulos)
  25.                 return Equals((circulos)obj); // use Equals method below
  26.             else
  27.                 return false;
  28.         }
  29.        
  30.         public bool Equals(circulos other){
  31.         }
  32.        
  33.         public override int GetHashCode(){
  34.         }
  35.        
  36.         public static bool operator ==(circulos left, circulos right){
  37.         }
  38.        
  39.         public static bool operator !=(circulos left, circulos right){
  40.         }
  41.         #endregion
  42.     }
  43. }
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement