Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define an enum within a method
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01072501
Message ID:
01072545
Vues:
16
I haven't finished my first cup of joe just yet but I think you can write something to the affect of this...
public class myClass
{
  private void myMethod()
  {
    // Method code that is using the enum
  }

  private enum myEnum : byte
  {
    Zero = 0x00,
    One = 0x01
  }

}
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform