I use Settings.cs as centralized ini-like file. You know C# is a new generation high level language and I wonder does it allow -开发者_开发技巧some how- including source files. In ASPX environment it would be possible, but how about WPF & Winform applications?
You probably want this:
http://msdn.microsoft.com/en-us/library/cftf714c(VS.90).aspx
In visual studio, click on settings.settings under your project in the solution explorer.
You can compile source files at runtime using CodeDom
.
You can read more about it here: http://support.microsoft.com/kb/304655
精彩评论