Top "Func" questions

Func is a family of delegate types in the .Net framework.

Func vs. Action vs. Predicate

With real examples and their use, can someone please help me understand: When do we need a Func<T, ..&…

c# delegates action func
golang "undefined" function declared in another file?

I'm trying to write a basic go program that calls a function on a different file, but a part of …

go undefined func
converting a .net Func<T> to a .net Expression<Func<T>>

Going from a lambda to an Expression is easy using a method call... public void GimmeExpression(Expression<Func<…

c# .net lambda expression func
Explanation of Func

I was wondering if someone could explain what Func<int, string> is and how it is used with …

c# .net func
void Func without arguments

There are some similar questions but not exactly like mine. Is there a Func equivalent for a function without a …

c# wpf mvvm func
Why Func<T,bool> instead of Predicate<T>?

This is just a curiosity question I was wondering if anyone had a good answer to: In the .NET Framework …

c# .net predicate func
How can I pass in a func with a generic type parameter?

I like to send a generic type converter function to a method but I can't figure out how to do …

c# func
Func<T> with out parameter

Can I pass a method with an out parameter as a Func? public IList<Foo> FindForBar(string bar, …

c# .net linq generics func
How to make a random color with Swift

How I can make a random color function using Swift? import UIKit class ViewController: UIViewController { var randomNumber = arc4random_uniform(20) …

swift random colors uicolor func
Go map of functions

I have Go program that has a function defined. I also have a map that should have a key for …

map go key-value func