Don't put connection strings/secrets in your LINQPad queries
You can store connection strings or secrets in LINQPad queries using LINQPad’s password manager.
Selecting Password Manager brings up a dialog to manage your secrets.
In your LINQPad query you can access the password using the Util.GetPassword(“Name“) function.
So, to get my Cosmos DB connection string I can add:
Util.GetPassword(“cosmos-db”);