Skip to content

Instantly share code, notes, and snippets.

Created October 28, 2010 19:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Itslet/652089 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Concepts.ConsoleApp
class Program
Func<int, int, bool> kleinste = (a, b) => a < b;
Func<string, string> ietsAnders = s => s.ToUpper();
Expression<Func<int, int, bool>> f = (a, b) => a < b;
Expression<Func<int, int, bool>> Where = (a, b) => a == b;
var fun = f.Compile();
var heu = fun(4, 8);
print(kleinsteGetal(16, 7).ToString());
public static void print(string line)
public static bool kleinsteGetal(int x, int y)
//return false;
if (x < y) return true;
else return false;
public static Func<int, int, bool> myDelegate = kleinsteGetal;
static void Main(string[] args)
var Lijst = new List<string>();
Lijst.Where(x => x == "Ikbenhet");
var myStuff = new List<string>();
// print(myDelegate(7, 8).ToString());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment