# NodeComment constructor

Kind: Constructor  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.NodeComment.-ctor.html

## NodeComment(string) {#TinyComponents_NodeComment__ctor_System_String_}

Initializes a new instance of the [NodeComment](https://docs.sisk-framework.org/api/TinyComponents.NodeComment.md) class with the specified comment.

```csharp
public NodeComment(string comment)
```

### Parameters

`comment` [string](https://learn.microsoft.com/dotnet/api/system.string)

The comment text.
