knut.wannheden
Definitive C# language reference?
I will report a bug here: https://github.com/dotnet/csharpstandard/
22 replies
Generic types API design
In Roslyn I did find some types where there are both generic and non-generic versions (e.g.
CSharpSyntaxVisitor
), but they don't inherit from each other, which I suspect is weird. I suppose I could always add another interface, which they both extend.5 replies
Best practice reading from `Socket` / `NetworkStream`?
I was able to get the sending application to shutdown the connection for writing without closing the socket (as I still want to send a response on the C# side). That way your approach with
CopyTo()
then works as expected. Thanks!12 replies