Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Type inference a-go-go
Akkiraju Ivaturi
12y
977
1
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[]"
);
}
}
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Will this compile?
DATE