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
Arijeet Ghosh
NA
210
37.6k
how to return a function value from one class to another ?
Feb 4 2021 10:13 AM
i have returned an array from a function defined in one class to another but the values are missing . the code is:-
class a
{
private string[,,,] allcontrols{...function body ...}
public string head=>allcontrols().clone();
private void btn1_click(.......)
{
string[,,,] cl= allcontrols();
messagebox.show(cl[0,1,0,0]); ///the value is shown ....
}
}
class b
{
public static void main(.......)
{
a aa=new a();
string[,,,]hh= aa.head;
var str =hh.getvalue(0,1,0,0) .tostring();
messagebox.show(str);
}
}
//how to get values ......
Reply
Answers (
1
)
Batch insert from larger json Array Result in asp.net core ?
MVC Question Asp.net C#