catastrophe2 0 Junior Poster in Training

hello

so we are in the process of developing a tagging program, and im building the form in c#. now how would we be able to connect the db from workbench with this form in visual studio to make queries in the program?
btw the databse i hosted it at AWS, and i put the endpoint of the instance in a workbench connection. i assume ill have to also put the endpoint of the instance in some database connection code in c#?