Lost in the matrix

C/C++/C#/Java, Multithreading

Voici une petite astuce dont je ne vois pas l'utilité immédiate, mais qui peut intéresser certain.

public int this[string val1, string val2]
{
    set
    {
       Console.WriteLine("{0} - {1}", val1, val2);
    }
}

0 commentaires:

Enregistrer un commentaire