13
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int x = 20, y = 10;
8
9
var result = x > y ? "x is greater than y" : "x is less than or equal to y";
10
11
Console.WriteLine(result);
12
}
13
}
Cached Result
Environment version: .NET 9.0.0 (9.0.0)
Newtonsoft.Json version: Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
AutoMapper version: AutoMapper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005
Dumping object(MyClassDTO)
C : value of A
D : value of B
IgnoreMe : null
LongNumber : 9223372036854775807
SomeField : value of SomeField
SomethingNotInTheOriginalClass : null
Newtonsoft.Json version: Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
AutoMapper version: AutoMapper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005
Dumping object(MyClassDTO)
C : value of A
D : value of B
IgnoreMe : null
LongNumber : 9223372036854775807
SomeField : value of SomeField
SomethingNotInTheOriginalClass : null