Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Main()
- {
- Console.WriteLine(List() + "wtf"); // no compilation error
- }
- public static IEnumerable<string> List() {
- yield return "abc";
- yield return "xyz";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement