Dotnet_Library/project_name/HelloWorldProvider.cs
Simon Diesenreiter bbfabb2eee
Some checks failed
Rename the project from template / rename-project (push) Has been skipped
SonarQube Scan / SonarQube Trigger (push) Has been skipped
CI / linter (9.0.X, ubuntu-latest) (push) Failing after 54s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Has been skipped
initial commit
2024-11-27 20:44:34 +01:00

17 lines
293 B
C#

namespace project_name;
public class HelloWorldProvider
{
public string GetHelloWorld(string name = null)
{
if(string.IsNullOrEmpty(name))
{
return "Hello world!";
}
else
{
return $"Hello, {name}!";
}
}
}