I expanded your sample into a fully working example:
using System;
public static class Class1
{
public static void Main()
{
Console.WriteLine(RenderCompareStatus());
}
public static string RenderCompareStatus()
{
String id = "test";
bool isFound = Found(id);
return "Test: " + isFound;
}
private static bool Found(string id)
{
return false;
}
}
And the results:
Test: False
EDIT: If the above example is similar to your code but your code is not working, please edit your question, supplying more details such as the precise error you are getting and a more complete sample of the code that is producing the error.
EDIT: Changed public static bool Found(string id)
to private static bool Found(string id)
recompiled and it still works.