using System.Collections.Generic;
public static void Main()
var restrictions = new List<Restriction>()
new Restriction("на Байкал","Сплавы"),
new Restriction("на Байкал", "Восхождения"),
new Restriction("на Байкал", "Восхождения"),
var directions = new List<string> ()
var types= new List<string>()
var locations = new List<string>()
var dates= new List<string>()
foreach(var direction in directions)
foreach(var type in types)
var items = restrictions.Where(x=> x.Key == direction);
if(items.Any(x=> x.Value == type))
foreach(var date in dates)
Console.WriteLine(type+" "+direction+" "+date);
foreach(var location in locations)
Console.WriteLine(type+" "+direction+" "+location);
foreach(var date in dates)
Console.WriteLine(type+" "+direction+" "+location+" "+date);
public Restriction(string k,string v)
public string Key {get;set;}
public string Value {get;set;