Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
dynamic in C#
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { dynamic foo = "bar"; Console.WriteLine(foo.GetType()); foo = 1; Console.WriteLine(foo.GetType()); foo = new Program(); Console.WriteLine(foo.GetType()); foo=new string[]{"Ramesh", "Deepak", "Suresh"}; Console.WriteLine(foo.GetType()); } } }
run
|
edit
|
history
|
help
2
Please
log in
to post a comment.
Count vowels in a string
abebe
nr
1 through 1000
ew
Call Class Methods with Interface
sdfrgthyjuytrfdf
Swap 1
v v
binary search tree (insert, search, findmin, findmax, level-pre-in-post order traversals
Please log in to post a comment.