I am referring to the source code written in java and it contains InputStream and OutputStream objects throughout, i wonder if there is a way in C# to create user-predifined InputStream and Outpustream Classes ; if not the java InputStream and OutputStream objects will they have the same functionality if i treat them as a simple Stream object?