This is one of the biggest weird things I've ever seen. There is code to search for all items in a List q variable
public List<String> SearchQuestion(String fromPart)
{
return q.FindAll(r => r.Contains(fromPart));
}
And this is how I use it mainly
foreach (String s in GameMaster.SearchQuestion("a"))
Console.WriteLine(s);
The program works, it does not crash at all, but I use a headset, and my ears are almost blown up by the fact that (yes, this is not a mistake on the sound board of the motherboard)
What is wrong with this code? What do these 4 beeps mean?
source
share