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
sinoop sundar
NA
1
0
Output Parameters
Jan 5 2007 6:15 AM
The class containing the function. using System; namespace singleton { ///
/// Summary description for checkfuns. ///
public class checkfuns { public checkfuns() { // // TODO: Add constructor logic here // } public void addvalue(ref int a, out int b, out int g) { a=a+20; b=a+10; g=100; //return; } } } The button click event where the function is invoked. private void button1_Click(object sender, System.EventArgs e) { checkfuns chk1=new checkfuns(); int c=5; int d,f; chk1.addvalue(ref c,out d, out f); MessageBox.Show(c.ToString() + "," + d.ToString()+ "," + f.ToString()); }
Reply
Answers (
0
)
converting file into bytestream
run .NET apps on a restricted server