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

Commit aa79d54

Browse files
committed
Remove obsolete member
1 parent 2f55c65 commit aa79d54

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/Utils.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,4 @@ public static class Utils
1212
/// <param name="lastName">The last name to include in the greeting. Cannot be null.</param>
1313
/// <returns>A string containing the greeting message formatted as "Hello, {firstName} {lastName}!".</returns>
1414
public static string Greeting(string firstName, string lastName) => $"Hello, {firstName} {lastName}!";
15-
16-
/// <summary>
17-
/// Returns a personalized greeting message for the specified name.
18-
/// </summary>
19-
/// <param name="name">The name of the person to include in the greeting. Cannot be null.</param>
20-
/// <returns>A string containing a greeting addressed to the specified name.</returns>
21-
[Obsolete("Use the Greeting(string firstName, string lastName) method instead.")]
22-
public static string Greeting(string name) => $"Hello, {name}!";
2315
}

0 commit comments

Comments
 (0)