Forcing named arguments in C#
问题 C# 4 introduced a feature called named arguments which is especially useful in scenarios like int RegisterUser(string nameFirst, string nameLast, string nameMiddle, string email) Is there a way to force using named arguments? Maybe some attribute to apply to a method or a compiler switch I'm not aware of? I guess it can be done with code inspector tools but just want to know if there is other way. p.s. For those interested why one may need it and why not just use a class/struct to utilize