<?php
$a = 'hello';
$$a = 'world';
echo "$a ${$a}";
echo "$a $hello";
?>
public static string mystr = "this is mystr";
public static void Main()
{
string readstr = Console.ReadLine();
Type type = typeof(SamplesEncoding);
FieldInfo fi = type.GetField(readstr);
if (fi != null)
Console.WriteLine(fi.GetValue(null));
else
Console.WriteLine("donnot had this property: " + readstr);
Console.Read();