| | |
basic questions regarding C# language
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2008
Posts: 46
Reputation:
Solved Threads: 4
1- http://www.c-sharpcorner.com/UploadFile/myoussef /CSharpMethodsP211142005232706PM/CSharpMethodsP2.aspx
2- http://en.csharp-online.net/Interfac...stract_Classes
3- char ch1= 'a' ;
// need more explanation from u in third question
2- http://en.csharp-online.net/Interfac...stract_Classes
3- char ch1= 'a' ;
// need more explanation from u in third question
Your first question are actually 3 questions. Just give us a break, please! What if I would ask you: Tell me something about hydrogen, helium, lithium, beryllium, boron, carbon...(I can go on you know)
Please use a simple question about the problem you have.
So we can formulate an answer in a way you will understand the most.
Please use a simple question about the problem you have.
So we can formulate an answer in a way you will understand the most.
Last edited by ddanbe; Jan 21st, 2009 at 7:05 pm.
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Make love, no war. Cave ab homine unius libri.
Danny
•
•
Join Date: Jan 2009
Posts: 7
Reputation:
Solved Threads: 0
Hi,
i think you are using C# so you want the difference betwen Void Static & return ok i will explain u one by one
all u have been is askedin ur 1st question is related to function i.e.
void--> it is using in function to define function type means if u want ur function doesn't return anything then you have to define "void function functionname" this type of function not return anything
Static --> as C# is in object oriented lang. so it always need an object but if function is define like "static function" then there is no need for object required.
return-->return is return type of function means ur fun return anything then which kind kind of data is returned like integer,charater etc.....
i hope this will help you to understand
i think you are using C# so you want the difference betwen Void Static & return ok i will explain u one by one
all u have been is askedin ur 1st question is related to function i.e.
void--> it is using in function to define function type means if u want ur function doesn't return anything then you have to define "void function functionname" this type of function not return anything
Static --> as C# is in object oriented lang. so it always need an object but if function is define like "static function" then there is no need for object required.
return-->return is return type of function means ur fun return anything then which kind kind of data is returned like integer,charater etc.....
i hope this will help you to understand
![]() |
Similar Threads
- Programming FAQ - Updated 1/March/2005 (Computer Science)
- C Pointers Basic questions (C)
- How to determine a program's language? (Computer Science)
- Basic SQL made Hard (MS SQL)
- Questions about the various languages (Computer Science)
- MFC File I/O Philosophy questions/clarifications (C++)
- Modern Replacement for Basic (Legacy and Other Languages)
- computer science/progamming languages need baics (Computer Science)
- Zend PHP Certification (PHP)
Other Threads in the C# Forum
- Previous Thread: Inserting Empty Line in String Variable
- Next Thread: postfix calculator
| Thread Tools | Search this Thread |
.net access algorithm array asp.net barchart bitmap box broadcast buttons c# check checkbox client combobox control conversion csharp custom database databaseconnection datagrid datagridview dataset datetime dbconnection degrees design development draganddrop drawing encryption enum event eventhandlers excel file firefox form format forms function gdi+ grantorrevokepermissionthroughc#.net httpwebrequest image index input install java label libraries list listbox loop mandelbrot math mouseclick movingimage mysql mysql.data.client operator path photoshop picturebox pixelinversion platform post programming radians regex remote remoting resourcefile richtextbox server sleep socket sql statistics stream string system.servicemodel table tcpclientchannel text textbox thread time timer update usercontrol validation visualstudio webbrowser windows winforms wpf wpfc# xml






