What is the difference between F...
What is the difference between F...
The main differences between Func<string,string>
and a custom delegate are:
Func<string,string>
is a built-in generic delegate in C# that represents a method with a string parameter and a string return type. It's defined as public delegate TResult Func<in T, out TResult>(T arg);
delegate
keyword, e.g. public delegate string StringTransformer(string input);
Func<string,string>
is limited to methods with a string parameter and string return type.senior
Gợi ý câu hỏi phỏng vấn
Chưa có bình luận nào