I have C# source code like this:
Server server = new Server("https://horizon-testnet.stellar.org");
var GetTranHistory = server.Operations.ForAccount("GDLRM2QFV7GOOAZDELHFCC5RBRMX4NAZNBSTAKG6NGO4CFODY5PSCYWT").Stream(EventHandler<OperationResponse> Listener);
Question: How to build the Listener
function to fetch all transaction payments returned from the Stellar API, so I can get the transaction history amount for each?
This page does not show an example how to build it. The C# SDK has less support.