C# Class Solutionizing.DynamicDemoCS.Program

Afficher le fichier Open project: dahlbyk/Presentations

Méthodes publiques

Méthode Description
ExpandoDemo ( ) : void
GetRandom ( ) : dynamic
OptionalTest ( string name, int age = null, bool hasPants = true, bool hasShirt = false ) : void
Test ( ) : IEnumerable

Private Methods

Méthode Description
DiscountDemo ( ) : void
GetDynamicX ( int i ) : dynamic
GetDynamicY ( int i ) : dynamic
Main ( string args ) : void
RandomTypeDemo ( ) : void

Method Details

ExpandoDemo() public static méthode

public static ExpandoDemo ( ) : void
Résultat void

GetRandom() public static méthode

public static GetRandom ( ) : dynamic
Résultat dynamic

OptionalTest() public static méthode

public static OptionalTest ( string name, int age = null, bool hasPants = true, bool hasShirt = false ) : void
name string
age int
hasPants bool
hasShirt bool
Résultat void

Test() public static méthode

public static Test ( ) : IEnumerable
Résultat IEnumerable