Created
June 10, 2015 16:12
-
-
Save ViIvanov/d879902886baf5a9d224 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
static class Program | |
{ | |
static void Add(IReadOnlyCollection<object> items) { } | |
static void Add(IEnumerable<IReadOnlyCollection<object>> items) { } | |
static void Main() { | |
var list = new List<object[]>(); | |
Add(list); // Which one called? | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment