Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Created by SharpDevelop.
- * User: Usuario
- * Date: 28/02/2022
- * Time: 08:25 p. m.
- * Version: 0.0.1
- * To change this template use Tools | Options | Coding | Edit Standard Headers.
- */
- using System;
- namespace Actividad_1
- {
- /// <summary>
- /// Description of circulos.
- /// </summary>
- public struct circulos : IEquatable<circulos>
- {
- string identificador;
- Point centro=new Point(xCentro,yCentro);
- int radio=xFin-xCentro;
- #region Equals and GetHashCode implementation
- public override bool Equals(object obj)
- {
- if (obj is circulos)
- return Equals((circulos)obj); // use Equals method below
- else
- return false;
- }
- public bool Equals(circulos other){
- }
- public override int GetHashCode(){
- }
- public static bool operator ==(circulos left, circulos right){
- }
- public static bool operator !=(circulos left, circulos right){
- }
- #endregion
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement