Link to home
Start Free TrialLog in
Avatar of ITsolutionWizard
ITsolutionWizardFlag for United States of America

asked on

VAR to Method in c#

var responseStr = JsonConvert.DeserializeObject<Dictionary<string, string>>(message);
           

I want to pass VAR to other method like below but it does not look possible.
What type of datatype I can use for responseStr so I can pass the parameter into the method like Test below?

function void Test(responseStr)
{

}
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial