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...
-
Test Planning: 1.Determine test approach 2. Evaluate exit criteria reporting 3. Measure & Analyze result Design test case order: 1...
-
1. Locate file " applicationhost.config " in <Document>/IISExpress/config 2. Scroll down to the code of : ...
No comments:
Post a Comment