Hi Team,
I am facing issue while string property declaration.
My requirement is need to declare the property like below but i am getting the error.
public string AUS.GNAF_PID { get; set; }
.
I want declare like above.
I am getting the some output from API. that output data is JSON format and i need compare those column values with My class.
For example i am getting the API response output is like below
{
"GeoCountryISO3" : "AUS",
"AUS.GNAF_PID" : "GAQLD156218414",
"user_fields" : 2987
}
and i have created property class like below.
we cannot able to change the Endpoint name
public class GeocodingOutputRecord
{
public string GeoCountryISO3 { get; set; }
public string UniqueId { get; set; }
public string AUSGNAF_PID { get; set; }
}
Here if declared
AUSGNAF_PID
like this
public string AUS.GNAF_PID { get; set; }
getting the error.
Any one could you please help me to resolve this issue.
What I have tried:
I have tried so many options but it's not working