Come posso recuperare dati sfruttando le proprietà in c sharp?
---> This method is contained in my main :
static decimal RetrievePower(SDK.Event.ResultEventArgs e)
        {
          
          //Questo è la parte del codice in cui vogliono recuperare il valore del mio parametro, la potenza, cioè il PowerValue..
        
Andiamo a vedere cosa c'è dentro SDK.Event.ResultEventArg
namespace Sun.SDK.Event
{
    public sealed class ResultEventArgs : EventArgs
    {
        public ResultEventArgs(string id, string shop, IList<ResultEntity> result, OperationCode code, object extdata = null);
        public string StationID { get; set; }
        public string ShopCode { get; set; }
        public object ExtData { get; set; }
        public IList<ResultEntity> ResultList { get; }       
         //--->Non so come gestire questa proprietà della classe , per la precesione: property public IList<ResultEntity> ResultList { get; } 
        public OperationCode OptCode { get; set; }
    }
}
Andiamo a vedere cosa c'è dentro la classe  ResultEntity della proprietà precedente:
namespace Sun.SDK.Entity
{
    public sealed class ResultEntity
    {
        public ResultEntity();
        public string StationID { get; set; }
        public string TagID { get; set; }
        public TagStatus TagStatus { get; set; }
        public int Signal { get; set; }
        public int Temperature { get; set; }
        public int Version { get; set; }
        public Power PowerLevel { get; set; }  
         // PowerLevel  is the parameter I have to retrieve, but I don't know how..
        public decimal PowerValue { get; set; }
        public string BatchCode { get; set; }
        public int FuncKeyStatus { get; set; }
        public ResultType ResultType { get; set; }
    }
}
Come posso recuperare il valore di potenza nel mio main?