Vb.net | Procedure | Functions | Console Application | Hindi | Urdu



Vb.net | Procedure | Functions | Console Application | Hindi | Urdu

Vb.net | Procedure | Functions | Console Application | Hindi | Urdu

Vb.net | Procedure | Functions | Console Application | Hindi | Urdu
Procedure and Functions

Notes Used
++++

Procedures and funtions
1. प्रोसीजर
सब प्रोसीजर ऐसी प्रक्रियाएं हैं जो किसी भी value को रिटर्न नहीं करती हैं।
Sub proceduce_name(argument list)
Task.
Task
End Sub

Sub Sum(ByRef a As Decimal, ByRef b As Decimal)
Dim res As Decimal
res = a + b
Console.WriteLine(“sum: “, & res)
End Sub
Sub Main()
Sum(25, 10)
Sum(40, 20)
Sum(30, 25)
Console.ReadLine()
End Sub
2. वी बी . नेट के प्रत्येक एप्लिकेशन में एक मैं प्रोसीजर होता है ।
Sub main()
End main

3. फंक्शन
यदि हम चाहे तो अपने आवश्यकता अनुसार कार्य करने के लिए फंक्शन का प्रयोग कर सकते है। फंक्शन एक कार्य को पूर्ण करके वैल्यू रिटर्न करता है
Function Function_name (argument list) as type
Definition of Function
End Function
Module Module2
Function Sum(ByVal a As Integer, ByVal b As Integer) As Integer
a = Console.ReadLine()
b = Console.ReadLine()
Sum = a + b
End Function

Sub main()
Dim x As Integer, y As Integer
Dim res As Integer

Console.WriteLine(“Enter two numbers”)
res = Sum(x, y)
Console.WriteLine(res)
Console.ReadLine()
End Sub
End Module

+++++++
{आप सभी से मेरा अनुरोध है, किसी भी विषय पर आपको यदि कोई भी सुझाव देना हो, सवाल करने हो तो कृपया उस विडियो के नीचे कमेंट कर दे। You are all requested to post comment if you any doubt, suggestion or question}
{यह चैनल लगभग सभी विश्वविद्यालय के कम्प्युटर साइन्स के विषयों के पाठ्यक्रम को कवर करता है। मुख्यतः पंडित रविशंकर शुक्ल विश्वविद्यालय, छत्तीसगढ़ और माखन लाल राष्ट्रीय पत्रकारिता विश्वविद्यालय, इसके अलावा इस चैनल में कम्प्युटर तकनीकी संबंधी विडियोस भी उपलब्ध हैं।}
चैनल की सभी प्लेलिस्ट देखने के लिए यहाँ क्लिक करें –
https://www.youtube.com/user/AtharDhamtari/playlists
Google Blogs:- athardhamtari.blogspot.com
Instagram – https://www.instagram.com/hashmi_athar/
Linkedin Profile – https://www.linkedin.com/in/sayed-athar-ali-hashmi-7346211a/
Twitter Account – https://twitter.com/ProfessorAthar
Facebook Page – https://www.facebook.com/ProfessorHashmi/
Youtube Channel Page – https://www.youtube.com/user/AtharDhamtari/
Other playlist that were recorded by me: मेरे द्वारा पढ़ाये गए अन्य विषयों की प्लेलिस्ट
चैनल लिंक
https://www.youtube.com/user/AtharDhamtari/
विषयवार प्लेलिस्ट
*Fundamental*
Fundamental of Computer System – https://bit.ly/39HTR3l
Computer Organization and Architecture – https://bit.ly/2Rd8rcD
Application Softwares
— — — — — — — — — — — — — — — — — —
Office Automation | आफिस ऑटोमेशन Hindi| Urdu – https://bit.ly/2X9iJOR
Database Management Using MS Access 2007 डेटाबेस एम एस एक्सैस 2007 – https://bit.ly/2JHwqMW
Spreadsheet using Microsoft Excel स्प्रैडशीट माइक्रोसॉफ़्ट एक्सेल – https://bit.ly/2wiW1sG
Web Technology
— — — — — — — — — — — — — — — — — —
HTML In 7 Lectures – https://bit.ly/3dTymjm
JavaScript जावास्क्रिप्ट – https://bit.ly/39JTVzN
Programming and Software Development
— — — — — — — — — — — — — — — — — —
VB.NET वीबी.नेट – https://bit.ly/34an4CU
Java Programming – https://bit.ly/2xOSu5P
Python Programming – https://bit.ly/3aVv2SM
Object Oriented Programming OOPS and C++ – https://bit.ly/39IP3uv
Programming in C सी प्रोग्राममिंग हिन्दी में (Hindi/Urdu) – https://bit.ly/2JHe0vK
Data Structure Through C Lanuguage – https://bit.ly/2VkpdJu

Comments are closed.