public static void Main()
var result = input switch
A2 _ => RunMethod1(input),
A3 _ => RunMethod2(input),
A1 _ => RunMethod3(input)
static int RunMethod1(A1 a1)=>1;
static int RunMethod2(A1 a1)=>1;
static int RunMethod3(A1 a1)=>1;
public string Id1 {get;set;}
public string Id2 {get;set;}
public string Id3 {get;set;}