a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
316 B
C#
17 lines
316 B
C#
using System;
|
|
|
|
namespace AsStringProblem
|
|
{
|
|
class MainClass
|
|
{
|
|
public static void Main ()
|
|
{
|
|
object o = "Hello World";
|
|
Console.WriteLine (o as string + "blah");
|
|
Console.WriteLine (o is string + "blah");
|
|
Console.WriteLine ((o as string) + "blah");
|
|
Console.WriteLine ("blah" + o as string);
|
|
}
|
|
}
|
|
}
|