Click here to Skip to main content
16,004,890 members
Home / Discussions / C#
   

C#

 
Questionsocket programming Pin
cyn815-Oct-07 19:25
cyn815-Oct-07 19:25 
AnswerRe: socket programming Pin
Andrei Ungureanu15-Oct-07 19:58
Andrei Ungureanu15-Oct-07 19:58 
QuestionLicense key of MathML .NET Control. Pin
Tuongnd15-Oct-07 19:01
Tuongnd15-Oct-07 19:01 
AnswerRe: License key of MathML .NET Control. Pin
stancrm15-Oct-07 19:06
stancrm15-Oct-07 19:06 
QuestionFunctions Pin
Trustapple15-Oct-07 18:40
Trustapple15-Oct-07 18:40 
AnswerRe: Functions Pin
Abhijit Jana15-Oct-07 18:59
professionalAbhijit Jana15-Oct-07 18:59 
GeneralRe: Functions Pin
Trustapple15-Oct-07 19:53
Trustapple15-Oct-07 19:53 
GeneralRe: Functions Pin
Abhijit Jana15-Oct-07 20:03
professionalAbhijit Jana15-Oct-07 20:03 
Trustapple wrote:
Just Write the function name from where you want to call with proper argument. suppose , Add(int a,int b) is a function you just call it by
Add(5,6), if its return some value then s=Add(5,6)."
i didnt understand this


I just want to mean that if you have a function Add(int a ,int b) , u can call it by using Add(5,6)
that is
Void Add(int a,int b)
{
int c=a+b;
Console.Writeline(c.ToString());
}

Here no return , so u have to call it by Add(value1,value2)

and if the defination is like this , that its return the value

int Add(int a,int b)
{
return a+b;
}
Then u have to call it using result=Add(5,6);

Hope now it clear to u.... Big Grin | :-D

And ur code is correct.... what is the problem r u facing with it !!!!



Happy Programming
-----
Abhijit

GeneralRe: Functions Pin
Andrei Ungureanu15-Oct-07 20:03
Andrei Ungureanu15-Oct-07 20:03 
GeneralRe: Functions Pin
Trustapple15-Oct-07 20:10
Trustapple15-Oct-07 20:10 
GeneralRe: Functions Pin
Andrei Ungureanu15-Oct-07 20:23
Andrei Ungureanu15-Oct-07 20:23 
GeneralRe: Functions Pin
Trustapple15-Oct-07 20:57
Trustapple15-Oct-07 20:57 
GeneralRe: Functions Pin
Andrei Ungureanu15-Oct-07 21:05
Andrei Ungureanu15-Oct-07 21:05 
QuestionHow to read JavaScript's variables values in webBrowser control using C# Pin
A.Asif15-Oct-07 18:12
A.Asif15-Oct-07 18:12 
AnswerRe: How to read JavaScript's variables values in webBrowser control using C# Pin
Sandeep Kumar15-Oct-07 19:14
Sandeep Kumar15-Oct-07 19:14 
GeneralRe: How to read JavaScript's variables values in webBrowser control using C# Pin
A.Asif16-Oct-07 3:21
A.Asif16-Oct-07 3:21 
GeneralRe: How to read JavaScript's variables values in webBrowser control using C# Pin
Sandeep Kumar16-Oct-07 4:09
Sandeep Kumar16-Oct-07 4:09 
GeneralRe: How to read JavaScript's variables values in webBrowser control using C# Pin
A.Asif16-Oct-07 4:37
A.Asif16-Oct-07 4:37 
QuestionDebug multi threads service Pin
senorAli3315-Oct-07 17:37
senorAli3315-Oct-07 17:37 
AnswerRe: Debug multi threads service Pin
mav.northwind15-Oct-07 19:17
mav.northwind15-Oct-07 19:17 
QuestionLaunch txt file in deafult text editor Pin
Dwayner7915-Oct-07 12:50
Dwayner7915-Oct-07 12:50 
AnswerRe: Launch txt file in deafult text editor Pin
Christian Graus15-Oct-07 12:56
protectorChristian Graus15-Oct-07 12:56 
AnswerRe: Launch txt file in deafult text editor Pin
Luc Pattyn15-Oct-07 12:57
sitebuilderLuc Pattyn15-Oct-07 12:57 
GeneralRe: Launch txt file in deafult text editor Pin
Dwayner7915-Oct-07 13:13
Dwayner7915-Oct-07 13:13 
QuestionWorking with Active Directory Pin
Gene Arnold15-Oct-07 11:59
Gene Arnold15-Oct-07 11:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.