static void Main(string[] args) { using (var obj = new DocumentProcessor()) { obj.MergeDocuments(); } }