[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / gtest-linq-22.cs
blobd6d3a0de443803644ac7d4d0be246548be4d5696
1 using System;
2 using System.Linq;
4 namespace Test
6 class MainClass
8 public static void Main ()
10 DateTime junk = DateTime.Today;
11 var results = from item in "abcd"
12 let parsed = DateTime.TryParse ("today", out junk)
13 select parsed ? junk : DateTime.Now;