Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit 6cb3ffc

Browse files
committed
Add another overload
1 parent 3f39992 commit 6cb3ffc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Utils.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
public static class Utils
44
{
5+
public static string Greet(string firstName, string lastName) => $"Hello, {firstName} {lastName}!";
6+
57
public static string Greet(string name) => $"Hello, {name}!";
68

79
public static string Greet() => $"Hello, World!";

0 commit comments

Comments
 (0)