I have a task saying: Read the environment variable from config file and parse the nested environment variables!
A:
Create recursive loop until all of the environment variables are processed. Extract environment variables with regex. Check against the Environment.GetEnvironmentVariables() dictionary. Thanks.
Smith
2010-06-22 17:47:32
Recursive loop?
belisarius
2010-06-22 17:49:34
This whole question and self-answer make no sense. Why would you be reading environment variables from a config file? Why would you solve this recursively? WHY WOULD YOU WANT TO PARSE IT IF THERE'S A PRE-MADE DICTIONARY IN THE FRAMEWORK?
Andy_Vulhop
2010-06-22 18:09:35