首先添加 [TDengine.Connector](https://www.nuget.org/packages/TDengine.Connector/) 的引用: ```xml title=csharp.csproj Exe net6.0 enable enable TDengineExample.ConnectExample ``` ```csharp {{#include docs-examples/csharp/ConnectExample.cs}} ```