using Opc.Ua; NodeId myNodeId = new NodeId(10, 1); string nodeIdAsString = myNodeId.ToString(); Console.WriteLine("Node Id as string: " + nodeIdAsString);In this example, we create a new NodeId object with a numeric identifier of 10 and a namespace index of 1. We then convert this NodeId object to a string using the ToString method. Finally, we print the string representation of the NodeId to the console. Package Library: The package library for the NodeId class and the ToString method is the Opc.Ua namespace in the OPC .NET API.