This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
namespace SearchStringWithRegularExpressions | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Has Return Value | |
bool isOK = ( (Func<bool>)( () => { return true; } ) )(); | |
System.Console.Write( isOK ); //true | |
//Has Return Value with Argument | |
bool isSame = ((Func< int, int, bool >)((i, j) => i == j))( 0, 1 ); | |
System.Console.Write( isSame ); // false |
NewerOlder