Skip to content

Settings and activity

5 results found

  1. 33 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Markus Jarderot supported this idea  · 
  2. 154 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Markus Jarderot supported this idea  · 
  3. 52 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Markus Jarderot supported this idea  · 
  4. 6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Markus Jarderot commented  · 

    Or more appropriately, the full filename of the .linq-file:

    #line 1 "C:\Users\Markus\Documents\LINQPad Queries\MyQuery.linq"

    Markus Jarderot shared this idea  · 
  5. 4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Markus Jarderot commented  · 

    Using the current beta:

    public static IList<T> Dump2<T>(this IEnumerable<T> items)
    {
    var collected = new List<T>();
    var container = new DumpContainer();
    container.Dump();
    container.Content = collected;
    foreach (var item in items)
    {
    collected.Add(item);
    container.Refresh();
    }
    return collected;
    }

    and then

    Enumerable.Range(0, 10).Select(i =>
    {
    Thread.Sleep(1000);
    return i;
    }).Dump2();