DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
swap two numbers c#
static void Swap<T> (ref T a, ref T b) { T temp = a; a = b; b = temp; }
Source by learning.oreilly.com #
PREVIOUS
NEXT
Tagged:
#swap
#numbers
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit