public class someclass { public string Name; public string Address; public int Code; }
public delegate Insert(string Name, string Address, int Code);
VirtualBlackFox
Func<string,> insert = (Name, Address, Code) => { // Do something with Name, Address and Code return String.Format("Data inserted:[Name={0}; Address={1}; Code={2}]", Name, Address, Code); }; string result = insert("Martin Arapovic", "Split, Croatia", 100); Console.WriteLine(result);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)