Tuesday, August 14, 2007

Settings.Settings .NET C#

I just learned the newest feature for adding configuration to .NET application (Console, Windows Forms, Web forms, ets.)

Settings.Settings are created when you start your application. This allows you to build out Settings that scope either the application or user. But the big question was how do you access them in the code.

Simple.

Try this

Properties.Settins.Default.[Intellisense takes over and find your setting]

That easy.

1 comment:

Anonymous said...

hi robert, its me saran. do you changed your cell number? pls send me your mobile number!

thanks
saran

How to Install Linux on Legacy BIOS Systems

How to Install Linux on Legacy BIOS Systems Understanding Legacy BIOS Systems What is Legacy BIOS? Legacy BIOS, short for Basic Inp...