C# Parameters Ref
using System; class Program { static void Main() { int val = 0; Example1(val); Console.WriteLine(val); // Still 0! Example2(ref val); Console.WriteLine(val); // Now 2! Example3(out val); Console.WriteLine(val); // Now 3! } static void Example1(int value) { value = 1; } static void Example2(ref int value) { value = 2; } static void Example3(out int value) { value = 3; } } Output 0 2 3
http://mohammadnazmul.blogspot.com/ https://nextleap.app/online-compiler/sql-programming
Tuesday, April 29, 2014
C# Keyword Code
Subscribe to:
Post Comments (Atom)
AZ-204
42,43,44,45,46,54,55,56,57,70, 71, 80, 98,99,100,108, 104, 105, 106, 192, 193, 194, 209, 206, 207, 210, 325,326,327,329,345,346,364,373,351...
-
PTE Free materials হুমাইরা https://www.bdword.com/english-to-bengali-dictionary-learn-3000-plus-common-words-a-page-1 https://www.bdword....
-
Arabic letter Read QURAN https://www.youtube.com/watch?v=3GFWY88pKFE&list=PL4cBpGZ96Y1cfly16DUu_ZK85uKbILx8-&index=5 https:/...
No comments:
Post a Comment