Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Type inference a-go-go
Akkiraju Ivaturi
Sep 7 2012 11:25 PM
971
Reply
using
System;
class
Test
{
static
void
Main()
{
Foo(
"Hello"
);
}
static
void
Foo(
object
x)
{
Console.WriteLine(
"object"
);
}
static
void
Foo<T>(
params
T[] x)
{
Console.WriteLine(
"params T[]"
);
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Will this compile?
DATE