Salam Sir;-
What is method in c#?Please You will tell to me in urdu language about This Question put out answer
I am waiting to your reply to me as soon as possible
Thanks sir for if you are help to me
Salam Sir;-
What is method in c#?Please You will tell to me in urdu language about This Question put out answer
I am waiting to your reply to me as soon as possible
Thanks sir for if you are help to me
میں آپ کے جواب کا انتظار کر رہا ہوں
what is method in c#?Please You will tell to me in urdu language about This Question
aur object c# mai kiya hota hai?
میں آپ کے جواب کا انتظار کر رہا ہوں
Method ya function Code ka majmooa hota he, jise dobara istemal kya jasake.
Yani jo code bar bar istemal hota he, us code ko bar bar likhne ke bajae aik method mein rakh diya jata he,
aor jab us code ki zaroorat hoti, to use call kiya jasakta he.
Method ke 4 parts hote hain:
1. Method Name.
2. Method parameters (variables jo hum method ko call karte waqt dain ge).
3. Method Return Type (variable type jo method return kar sakta he)
4. Method Definition (yani code)
Function aik esa code block hota he jo input leta he aur usse process kar k output deta he (Ya koi kaam karta he, output diye bghair).
Function aik dafa likha jata he aur multiple times call kia ja sakta he.
Jo function kisi class ka member hota he usse method kehte hain.
For example C# main message box show karne k liye ham likhte hain
MessageBox.Show("Hello World");
Iss main Show aik method he jo ham se input "Hello World" le raha he aur screen per aik messagebox dikha raha he (Ye is ka kaam he)
Ab "Show" MessageBox class ka static member he is liye ham ClassName dot MethodName se isse call kren ge
Thanks Sir for you are reply to me
Ager kisii kay pass iss kay topic ka kuch aur information ho tu yahaan per mujhe sharing kar sakta hai
main aap kay jawab ka intezaar karogaa
Thanks sir for if you are help to me
Kiya C#.NET MAI METHOD BANAYA HOWA TU KISII PROGRAM MAI CALL BEI KAR SAKTA HAIN OR NAHI??
I am waiting to your reply to me as soon as possible
Kiya C#.NET MAI METHOD BANAYA HOWA TU KISII PROGRAM MAI CALL BEI KAR SAKTA HAIN OR NAHI??
bhai, ye book read kro. sb samaj aajaiyga. bohot hi achi book ha.
Head First C#, 2E: A Learner's Guide to Real-World Programming with Visual C# and .NET (Head First Guides)
www.ebooklinks.org
Bookmarks