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.
Robert Dannelly blog, Over the internet you can find me by "robert dannelly blog". The blog is an ongoing blog of my software engineering over technologies C#, VB.NET, Java, React, JavaScript, .NET Core Current, SQL Server 7 - Current Version, GIT, GitHub, Jira, Azure, AWS and HTML5. “I have not failed. I've just found 10,000 ways that won't work.” Thomas A. Edison, please click on all links to help support this blog. Thank you. “As an Amazon Associate, I earn from qualifying purchases.”
1 comment:
hi robert, its me saran. do you changed your cell number? pls send me your mobile number!
thanks
saran
Post a Comment