Geeks With Blogs
Welcome to
Geeks with Blogs
Login
Gupta Anirudha
Personal Website / Bio
146 Posts
| 101 Comments
My Other Recent Posts
Learn Array in C#
Introduction to CSS, Learn how to get started with CSS.
How to deploy the dialogflow bot to Facebook app.
postincrement and preincrement in c#
How to check crash issue in C# apps ?
How to implement AMP on your website.
How to open URL in browser in C# ?
C# Collection part 2
Learn C# Collection part 1
C# Local Function
News
Post Categories
Visual Basic 2005
Visual Basic 6.0
ASP .Net
Miscellaneous
SQL Server 2000
SQL Server 2005
MS Access
ADO
DAO
ADO .Net
ReportViewer
Javascript
Telerik
.Net 4.0
LINQ
API
Visual Studio 2008
Visual Studio 2010
jQuery
Web Servers
Web Service
Archives
March 2020 (1)
December 2019 (1)
December 2018 (1)
August 2018 (3)
July 2018 (2)
June 2018 (4)
April 2018 (3)
March 2018 (2)
February 2018 (2)
January 2018 (1)
December 2017 (1)
September 2017 (3)
August 2017 (1)
May 2017 (1)
April 2017 (1)
December 2016 (1)
November 2016 (1)
August 2016 (2)
June 2016 (2)
February 2016 (1)
January 2016 (1)
November 2015 (3)
October 2015 (1)
July 2015 (1)
March 2015 (1)
January 2015 (4)
December 2014 (2)
November 2014 (2)
June 2014 (1)
February 2014 (1)
January 2014 (4)
December 2013 (4)
November 2013 (12)
October 2013 (12)
September 2013 (14)
August 2013 (6)
July 2013 (12)
June 2013 (9)
March 2013 (5)
January 2013 (3)
December 2012 (1)
November 2012 (2)
April 2012 (1)
February 2012 (1)
January 2012 (1)
September 2011 (2)
July 2011 (1)
April 2011 (5)
Anirudha gupta
<< Hello World in Xamarin
|
Home
|
Learn C# Collection part 1 >>
C# Local Function
Comments
|
Share
static void Main(string[] args)
{
int Sum(int x, int y)
{
return x + y;
}
int res = 5 + 2;
Console.WriteLine(res);
}
This is a 5 line code to show how Local method works in C#.
Posted on Thursday, January 25, 2018 10:18 AM |
Back to top
Comments on this post: C# Local Function
No comments posted yet.
Your comment:
Title:
Name:
Email: (never displayed)
(will show your
gravatar
)
Comment:
Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
Verification:
Copyright © Anirudha | Powered by:
GeeksWithBlogs.net
Popular Posts on Geeks with Blogs
0
Code Monkey Projectiles - Index
Geeks With Blogs Content Categories
ASP.Net
SQL Server
Apple
Google
SharePoint
Windows
Visual Studio
Team Foundation Server
Agile
Office
Design Patterns
Web
Azure
Brand New Posts on Geeks with Blogs
0
How do you run multiple instances of Microsoft Teams?
Benefits of Apple Cider Vinegar
Shaking down the Raspberry Pi 400
Blog is Moving
Pop!_OS Linux 20.10: Review