Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using System;
using System.Data;
using Microsoft.Data.SqlClient;
namespace BasicDI
class Program
static void Main(string[] args)
var execCarro = new ExecutaServico(new ServicoCarro());
var execMoto = new ExecutaServico(new ServicoMoto());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.