In C# it is possible to enable/disable Connection Pooling by using "Pooling=True" and "Max Pool Size=XY" in connection string.
Like: What is maximum allowable value of "Max Pool Size" in sql connection string
Is it possible to ask how many connections to SQL server is active and what is the current pool size programmatically?
You can use NumberOfActiveConnections or NumberOfPooledConnections ADO.NET performance counter:
https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/performance-counters