Answer by Olivier Jacot-Descombes for void Func without arguments
Yes, there are different overloads of Action taking a different number of input parameters and having a void return type.Action public delegate void Action()Action<T> public delegate void...
View ArticleAnswer by RyanR for void Func without arguments
What you're looking for is an Action. It takes no parameters, and returns no value.
View ArticleAnswer by Anthony Pegram for void Func without arguments
Your wording is confusing. You perhaps mean "a function without a return type and no parameters." There is simply System.Action.Action action = () => Console.WriteLine("hello world");action();From...
View Articlevoid Func without arguments
There are some similar questions but not exactly like mine.Is there a Func equivalent for a function without a return value (i.e. void) and without parameters?The related question is Func not returning...
View Article
More Pages to Explore .....