samedi 17 septembre 2016

C# Decorating Console class

I came across an assignment to decorate a Console class (in C#), and implement some custom things inside Write and WriteLine methods.

I had no problem with decorating streams to provide additional functionality, but I have no idea, how to decorate a Console, mostly because of it's static (and have no inheritance, only from System.Object).

So what are the possibilities here?

Thank you! Lukas

Aucun commentaire:

Enregistrer un commentaire