-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCodetest5.cs
36 lines (29 loc) · 911 Bytes
/
Codetest5.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Internal {
using System;
using System.Collections.Generic;
using System.Linq;
public class Program {
public List<dynamic> QueryFire(List<dynamic> data)
{
try {
var result = data.Where( e => int.Parse(e.Salary) < 34000 ).Select( e => e.Ename).Cast<dynamic>().ToList();
return result ;
}
catch(Exception ex)
{
return new List<dynamic>{ex.Message + ex.StackTrace};
}
}
public static void Main() {
}
}
}