Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Last active December 25, 2015 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/6999861 to your computer and use it in GitHub Desktop.
Save Fhernd/6999861 to your computer and use it in GitHub Desktop.
Demostración del uso de campos estáticos: inicialización, en C#.
public class Servidor
{
public static int CapacidadActualUsuarios = 300 - UsuariosAtendiendo; // 300
public static int UsuariosAtendiendo = 13; // 13
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment