TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hemalatha Sunnapu
NA
169
20.3k
Params prameter, is giving error while accesing.
Jul 25 2018 11:50 PM
namespace ParamsCheck
{
class Program
{
public void Method(params int [] arr)
{
arr[1]=Convert.ToInt32( Console.ReadLine());
}
static void Main(string[] args)
{
Program obj = new Program();
//int[] arr = new int[1];
int []arr= {1 };
obj.Method();
Console.Read();
}
}
}
I am getting this error.
Reply
Answers (
5
)
How to list all available scanners seen by my computer
"Ref and Out are the same for the CLR, but not for the compi