Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

using variables from other procedures C#

void Method1()
{
    var myString = "help";
    Method2(myString);
}

void Method2(string aString)
{
    var myString = "I need ";
    var anotherString = myString + aString;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #variables #procedures
ADD COMMENT
Topic
Name
5+8 =