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

Commit 65cc5d3

Browse files
authored
Merge pull request #2 from OrchardCoreContrib/greeting
Remove parameter less Greeting()
2 parents 6dda088 + dd634c7 commit 65cc5d3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/Utils.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,4 @@ public static class Utils
1919
/// <param name="name">The name of the person to include in the greeting. Cannot be null.</param>
2020
/// <returns>A string containing a greeting addressed to the specified name.</returns>
2121
public static string Greeting(string name) => $"Hello, {name}!";
22-
23-
/// <summary>
24-
/// Returns a standard greeting message.
25-
/// </summary>
26-
/// <returns>A string containing the greeting message "Hello, World!".</returns>
27-
public static string Greeting() => $"Hello, World!";
2822
}

0 commit comments

Comments
 (0)