Just call ToStringin the request. Obviously, you need to create the string as IQueryableusing the extension method AsQueryable, not how IEnumerable.
In this example:
var list = new int[] { 1, 2, 3, 4, 5 };
var query = list.AsQueryable()
.Where(n => n % 2 == 0)
.Take(25);
string querystring = query.ToString();
Holds this line:
System.Int32 []. Where (n => ((n% 2) == 0)). Take (25)
, , , , ; , , , .