This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/pkg/universe.dagger.io/x/olli.janatuinen@gmail.com/dotnet/test/data/hello/Program.cs

14 lines
236 B
C#
Raw Normal View History

using System;
public class Program
{
public static void Main()
{
var name = Environment.GetEnvironmentVariable("NAME");
if (String.IsNullOrEmpty(name)) {
name = "John Doe";
}
Console.Write(Greeting.GetMessage(name));
}
}