using System;
public class Program
{
public delegate void TotalesDelegate(int steps);
public static TotalesDelegate TotalesCallBack { get; set; } = null;
public static void Main()
int a=0;
TotalesCallBack = steps => a = steps;
TotalesCallBack(3);
Console.WriteLine("Valor de a:" + a);
}