I am using an API from Bloomberg. I'm having some issues with the request I am sending. However the request type has a method called Print.
The method is shown below. I haven't really used streams before. I can't seem to create an instance of a Stream variable either. Am I supposed to supply a text file or something where it will print some output?
request.Print(System.IO.Stream output)
Stream
is an abstract class so you can't create instances of it, but you can pass any Stream
subclass instance, for example
request.Print(File.OpenRead(pathToFile))
Check the article on inheritance in C# on msdn.