Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
public static void Main()
var markers = new[]{
(a: 1, s: "a"),
(a: 2, s: "b"),
(a: 3, s: "c"),
var x = markers.FirstOrDefault(((int a, string s) v) => v.a == 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment