Size: 359 bytes.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
using System;

namespace Labs.CSharp;

public static class Greeter
{
    public static string SayHello(string target)
    {
        return $"Hello {target}!";
    }
}

public class Program
{
    public static void Main(string[] args)
    {
        var target = args.Length > 0 ? args[0] : "World";
        Console.WriteLine(Greeter.SayHello(target));
    }
}
v0 (commit) © 2025 @p13i.io | Load balancer proxied to: cs-code-viewer-1:8080 in 4ms.