I developed an application in Visual Studio 2019 c# that uses a database. The connection string I use is:
Data Source=(LocalDB)\\MSSQLLocalDB;AttachDbFilename