Check out example codes for "eventos c#". It will help you in understanding the concepts better.

Code Example 1

public class EventoArgs
{
  	public string Texto {get;}
  	public EventoArgs(string texto)
	{
    this.Texto = texto;  
	}  
}


public delegate void ManejadorEventosEjemplo(object sender, EventoArgs e)

  public class ClasePrueba
{
  public event ManejadorEventosEjemplo EventoEjemplo;
  
  protected virtual void LlamarEvento()
  {
    EventoEjemplo?.Invoke(this, new EventoArgs("Hola"));
  } 
}

Learn ReactJs, React Native from akashmittal.com