S
shapper
Hello,
I need to replace some text on the values IDictionary<String, String>
_scripts:
foreach (KeyValuePair<String, String> s in _scripts) {
s.Value.Replace("$Database", Database);
s.Value.Replace("$Login", Login);
}
However, the values are not replaced. I think I need to use the
following:
s.Value = s.Value.Replace("$Database", Database);
But the problem is that I can't do this in a IDictionary value.
How can I solve this problem?
Thank you,
Miguel
I need to replace some text on the values IDictionary<String, String>
_scripts:
foreach (KeyValuePair<String, String> s in _scripts) {
s.Value.Replace("$Database", Database);
s.Value.Replace("$Login", Login);
}
However, the values are not replaced. I think I need to use the
following:
s.Value = s.Value.Replace("$Database", Database);
But the problem is that I can't do this in a IDictionary value.
How can I solve this problem?
Thank you,
Miguel