Count the interfaces...
time to read 1 min | 39 words
Without running this code, what does this print?
public interface IStartable : IDisposable { void Start(); } public class Pipeline : IStartable { // ... } Console.WriteLine(typeof(Pipeline).GetInterfaces().Length);

Comments
Comment preview