Hello, i have a problem with a static string that return a value.
public static string Files
{
get
{
DirectoryInfo dir = new DirectoryInfo(HttpContext.Current.Request.QueryString["show"]);
if (dir != null)
{
if (dir.Name.EndsWith(".png") || dir.Name.EndsWith(".jpeg") || dir.Name.EndsWith(".jpg") || dir.Name.EndsWith(".gif"))
{
return "Bild";
}
Go to the complete details ...