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 65cc5d3 commit 5471b82Copy full SHA for 5471b82
1 file changed
src/Utils.cs
@@ -18,5 +18,6 @@ public static class Utils
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}!";
23
}
0 commit comments