Hi kook Jin Noh,
We
are able to replicate the reported scenario on our end. To resolve these
warnings, use nullable properties. Please check the code snippet below, and we
have also attached a simple sample.
Kindly refer the following code snippets.
public class OrderInfo { int? orderID; string? customerId;
public int? OrderID { get { return orderID; } set { orderID = value; } } public string? CustomerID { get { return customerId; } set { customerId = value; } } } |
Regards,
Madhavan S
Attachment:
WpfApp1_ffce5a61.zip