create and use inline functions
Published: 1. February 2012 | Updated: 1. February 2012License: Microsoft Public License (MS-PL)
Categories: Framework
Tags: C#
Func<string, string> func = (x) => x.ToUpperInvariant(); string result = func("test"); Console.WriteLine(result);Console Output:
TEST
| Send us feedback about this snippet » |





