Skip to main content

All Questions

4 votes
2 answers
1k views

When to use a static method instead of a constructor?

I have a short question for you: let's imagine that we have a class similar to this one. public class StreamTradeDataProvider : ITradeDataProvider { public StreamTradeDataProvider(Stream stream) ...
masm64's user avatar
  • 349