class Program { static void Main() { //define a new function Func<int, string> newFunction = definedFunction; Console.WriteLine(newFunction(1234)); //console will print string "1234" } //define functions with string return static String definedFunction (int index) { return index.ToString(); } }
2017-04-08
Example of Using Function in C#
Subscribe to:
Post Comments (Atom)
Setup VNC on Ubuntu 20.04
sudo apt update sudo apt install xfce4 xfce4-goodies sudo apt install tigervnc-standalone-server sudo apt install tightvncserver vncserver...
-
It is available in settings menu of different phone morever you can call on a number provided by service provider to divert calls. Anywa...
-
Tools used by Developer: Statistic Analysis, Dynamic Analysis Tools used by Testers: P erformance testing, Test Management, Test Running,...
-
1. Locate file " applicationhost.config " in <Document>/IISExpress/config 2. Scroll down to the code of : ...
No comments:
Post a Comment