You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download the code.
Open src with VS2019.
When I Run Code.
private static string GetValue(string key, string cfg)
{
// Find start of 'Key'
int i = cfg.IndexOf(key);
if (i >= 0)
{
i = cfg.IndexOf('=', i);
int z = cfg.IndexOf(Environment.NewLine, i + 1);
// Get only 'Value' text
return cfg.Substring(i + 1, z - i).Trim();
}
return null;
}
It's wrong.why?I want to run code on my computer.what should i do?
The text was updated successfully, but these errors were encountered:
I download the code.
Open src with VS2019.
When I Run Code.
private static string GetValue(string key, string cfg)
{
// Find start of 'Key'
int i = cfg.IndexOf(key);
if (i >= 0)
{
i = cfg.IndexOf('=', i);
int z = cfg.IndexOf(Environment.NewLine, i + 1);
It's wrong.why?I want to run code on my computer.what should i do?
The text was updated successfully, but these errors were encountered: