Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
System.Void cannot be used from C#
Sandeep Ch
Aug 29 2016 1:50 AM
338
Reply
Hello Friends,
Could you please some one explain why I am getting this compilation error
"System.Void cannot be used from C# -- use typeof(void) to get the void type object"
i have method called
public static Void ArryTypeCasting()
{
//Code
}
when i am compiling the program , i am getting Error message "System.Void cannot be used from C# -- use typeof(void) to get the void type object".
Thanks in advance.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
comparing two excel sheets and updating in one
Retrieve Gmail contacts using C#