tags:

views:

37

answers:

1

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
Recursive loop?
belisarius
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