2
Answers

Constructors in inheritance

I have class CReader that inherits StreamReader. When i try to assign Stream via [code] CReader(NetworkStream.GetStream()); [/code] I get 'No overload for CReader takes 1 arguments' This works if I use it in plain old StreamReader instead of CReader. I guess I need a custom constructor.... but how??
Answers (2)