class Test { public BinaryWriter Content { get; private set; } public Test Write (T data) { Content.Write(data); return this;
In your write method T is generic, which means that T can be anything, but BinaryWriter.Write doesn't takes a generic overload. So you can't do that.
T
BinaryWriter.Write