✅ Two symbols not resolved
I have two errors saying "symbol not resolved" on my code. All the methods here are inside of the same class. I tried to initialize a variable from the Class but it did not work. Could anyone kindly point me out a correct direction (like links to tutorials/videos or just a little bit of advice)?
public static Hashtable Solution
{
get
{
return _solution;
}
private set
{
_solution = value;
}
}
public void AddItem(string attribute, string classification, string column)
{
column = ActivateReader(@"/.csv").ToString();
var key = Convert.ToString(attribute + Convert.ToString("->")) + classification; //irgendwo hier soll csv datei abgelesen werden
Finder item = null;
if (Items.ContainsKey(key))
;
if (item == null)
{
item = new Finder(attribute, classification, column);
}
}
public void Build(TextReader r)
{
foreach (string head in header)
{
list.Add(new Solution(head)); //ERROR "Symbol Solution not resolved"
}
string line = r.ReadLine();
while (line != null)
{
var tokens = line.Split(new char[] { ';' });
string classfication = tokens[0];
for (int i = 1; i <= tokens.Length - 1; i++)
{
Finder add = new Finder();
string attribute = tokens[i];
list[i].AddItem(attribute, classfication, ""); //ERROR "Symbol AddItem not resolved"
}
line = r.ReadLine();
}
r.Close();
}public static Hashtable Solution
{
get
{
return _solution;
}
private set
{
_solution = value;
}
}
public void AddItem(string attribute, string classification, string column)
{
column = ActivateReader(@"/.csv").ToString();
var key = Convert.ToString(attribute + Convert.ToString("->")) + classification; //irgendwo hier soll csv datei abgelesen werden
Finder item = null;
if (Items.ContainsKey(key))
;
if (item == null)
{
item = new Finder(attribute, classification, column);
}
}
public void Build(TextReader r)
{
foreach (string head in header)
{
list.Add(new Solution(head)); //ERROR "Symbol Solution not resolved"
}
string line = r.ReadLine();
while (line != null)
{
var tokens = line.Split(new char[] { ';' });
string classfication = tokens[0];
for (int i = 1; i <= tokens.Length - 1; i++)
{
Finder add = new Finder();
string attribute = tokens[i];
list[i].AddItem(attribute, classfication, ""); //ERROR "Symbol AddItem not resolved"
}
line = r.ReadLine();
}
r.Close();
}