Run Code
|
API
|
Code Wall
|
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
4 Distinct Integer Custom Code Generator
How to find second largest integer in an array using only one loop?
add two number
testing_editor
sdfrgthyjukioikujyhtgrfds
Gradebook
gyakorlas
Hssbddbsv
a6
Problem_binary