Formation C# & XAML

  • View
    14

  • Download
    0

Embed Size (px)

Text of Formation C# & XAML

  • Community Professional Entreprise

  • Design

    (XAML)

    Code behind

    (C#)

  • < =

    =

    >

    < =

    =

    >

    />

  • Attributs (informations)

    +

    Mthodes (actions)

    Objet

    Class1 obj1 = new Class1 (att1, att2, )

  • Encapsulation private

    protected

    public

  • HritageAnimal A1 = new Animal (50,20,Fem);

    Chat Ch1 = new Chat (50, 20,Fem, S, normal, longs);

    A1.Dormir ( );

    Ch1. Mioler ( );

    Ch1.Manger ( );

    A1. Jouer ( ); //ERREUR

    public class Animal

    {

    .

    }

    public class Chat : Animal{

    ..

    }

  • Polymorphisme

    Plusieurs formes

    Mthodes mme nom

    Implmentations diffrentes

  • Ressources

    Microsoft Virtual Academywww.microsoftvirtualacademy.com

    Channel 9https://channel9.msdn.com