CSharp · Console
using System;
using System.Linq;
using System.Text;
public class Program
{
public static void Main()
{
var l = "Hello World";
var r = "Red Who Loll";
var y = new Func<string,string>(s => new String(s.ToLower().Replace(" ","").OrderBy(v => v).ToArray()));
var z = new Func<string,string,Func<string,string>,bool>((w,x,f) => f(w) == f(x));
var o = z(l, r, y);
Console.WriteLine("{0} & {1} are anagram: {2}",l, r, o);
Console.WriteLine("C#, {0} bytes", Encoding.Unicode.GetByteCount(@"var y = new Func<string,string>(s => new String(s.ToLower().Replace("" "","""").OrderBy(v => v).ToArray()));
var z = new Func<string,string,Func<string,string>,bool>((w,x,f) => f(w) == f(x));"));
}
}