We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526ec43 commit 9860f02Copy full SHA for 9860f02
1 file changed
Languages/CSharp/CSharp-Template-HelloWorld.ps1
@@ -20,8 +20,8 @@ function Template.HelloWorld.cs {
20
string helloMessage = @"
21
$($Message.Replace('"','""'))
22
";
23
- if (args.Length > 0) {
24
- helloMessage = String.Join(" ", args);
+ if (args != null && args.Length > 0) {
+ helloMessage = System.String.Join(" ", args);
25
}
26
System.Console.WriteLine(helloMessage);
27
0 commit comments