// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.JavaScript.NodeApi.Examples;
///
/// Example class that will be dynamically instantiated in JavaScript.
///
public class Class1
{
///
/// Creates a new instance of the class.
///
public Class1()
{
}
///
/// Gets a greeting message.
///
public string Hello(string greeter)
{
System.Console.WriteLine($"Hello {greeter}!");
return $"Hello {greeter}!";
}
}