13 novembre 2008

Utilisation du fichier app.config

Ajouter la référence à
using System.Configuration;

Utiliser l'objet
ConfigurationManager
:
string maPropriété = ConfigurationManager.AppSettings["maPropriété"];

Inspirations :
Developpez.com

Aucun commentaire:

How I Turned GitHub Copilot Into My Coding Sidekick (And Why It Feels Like Cheating)

  How I Turned GitHub Copilot Into My Coding Sidekick (And Why It Feels Like Cheating) Spoiler: It’s not cheating. It’s collaboration —with...