SlideShare a Scribd company logo
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
Intentionally left empty
Intentionally left empty
When writing & calling a C# method, you have some points to take into consideration
regarding the method parameters. This article is explaining the main alternatives you have
to do so with some examples.
[Development Simply Put] 4 Ways To Send
Parameters To A C# Method
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career
days and day after day I got more confident that it's all about sharing not the title you have. I believe
that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes
out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills
and I found that the best way to learn is to try to teach what you already know. This makes you think
of the best simplest way to explain complex logic which makes you spot some points may be even
yourself didn't recognize in the first time.
The greatest thing in the human mind is that it carries out too complicated operations and finally
presents it into a simple form, so why do we always try to re-complicate things? This is what
encouraged me to start my blog -Development Simply Put
(http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT
development and share my humble knowledge in this field.
Why?
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
Blog Link: http://developmentsimplyput.blogspot.com
Facebook Page: https://www.facebook.com/DevelopmentSimplyPut
Google+ Page: https://plus.google.com/115238148611061640682
LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295
RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss
Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default
Android RSS App: http://www.appsgeyser.com/336849
Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356
Random Post: http://developmentsimplyput.blogspot.com/?random
Links
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
1. Comment & provide feedback (liked, hated, good, bad, missing, ......)
2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-Put-
Blog-Survey)
3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356)
4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss)
5. Share blog links
6. Invite friends whom you think will be interested
Want To Offer Help?
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
My Resume:
LinkedIn: http://www.linkedin.com/in/atarekhasan
Yatedo: http://www.yatedo.com/atarekhasan
Zerply: http://zerply.com/ahmed-tarek-hasan/public
Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan
My Social Accounts:
Facebook: https://www.facebook.com/ahmed.t.hasan
Google+: https://plus.google.com/u/0/117461717174836938716
Twitter: https://twitter.com/AhmedTarekHasa1
StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes
Pinterest: http://pinterest.com/ahmedtarekhasan
About Me
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein

More Related Content

PPTX
[Development Simply Put] Parent VS. Child Classes - Think Like A Compiler
PPTX
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
PPTX
[Development Simply Put] Delegates In C# - The Definition
PPTX
Development Simply Put
PPTX
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
PPTX
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
PPTX
[Development Simply Put] How To Manage Your Resources
PPTX
[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Parent VS. Child Classes - Think Like A Compiler
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] Delegates In C# - The Definition
Development Simply Put
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] How To Manage Your Resources
[Development Simply Put] Events & Delegates In C# - The Concept

What's hot (20)

PPTX
9 reasons why blogging sinks to the bottom of your to do list
PPT
Harness the Power of Facebook Pages
PPT
The business of wordpress
PDF
CoSchedule Webinar
PPT
Feel Misreable
PDF
Speedgeeking with Coffeechug: Time To Get Sh*T Done ITEC 2016
PPTX
13 Steps To Set Up Your Blog
PPTX
10 ways to motivate yourself to do homework
PDF
How to Execute Your Blog Content Plan Like a BOSS (with a batching process)
ODP
How Do You Know When You’re Ready in Your Internet Marketing?
PDF
Finding Your Balance
PDF
4 content creation tricks that help avoid writer's block forever
PPTX
Youth Hub
PDF
Manage your time - Manage your life
PPTX
PRAC Final
PDF
Create The Perfect Blog With These Great Tips
PPTX
352 new media technique
PPTX
PDF
The Art and Science of Blogging
PDF
Blog To Your Heart's Content After Reading These Tips
9 reasons why blogging sinks to the bottom of your to do list
Harness the Power of Facebook Pages
The business of wordpress
CoSchedule Webinar
Feel Misreable
Speedgeeking with Coffeechug: Time To Get Sh*T Done ITEC 2016
13 Steps To Set Up Your Blog
10 ways to motivate yourself to do homework
How to Execute Your Blog Content Plan Like a BOSS (with a batching process)
How Do You Know When You’re Ready in Your Internet Marketing?
Finding Your Balance
4 content creation tricks that help avoid writer's block forever
Youth Hub
Manage your time - Manage your life
PRAC Final
Create The Perfect Blog With These Great Tips
352 new media technique
The Art and Science of Blogging
Blog To Your Heart's Content After Reading These Tips
Ad

Viewers also liked (6)

PPTX
All about me power point
DOC
Final career
DOCX
Activity%20 sheet identifying%20dominant%20intelligences[1]
DOC
Education%20 plan[1]
PPT
Digital identity16may13shorter
PDF
Screen overlays phone_pb_uk
All about me power point
Final career
Activity%20 sheet identifying%20dominant%20intelligences[1]
Education%20 plan[1]
Digital identity16may13shorter
Screen overlays phone_pb_uk
Ad

Similar to [Development Simply Put] 4 Ways To Send Parameters To A C# Method (20)

PPTX
[Development Simply Put] How To Reconstruct String Sections From Concatenated...
PDF
Smart Housekeeping Apps
PDF
DEVELOPER SKILLS.pdf
PDF
From Journeyman to Master
PDF
Microsoft Visual C Step By Step Ninth Edition John Sharp
PDF
The Hairball of Content - Lightning Version
PDF
Design Simple but Powerful application
KEY
Web API Basics
PDF
Hungry minds, inc csharp complus programming
PDF
Programming C 40 Building Windows Web And Ria Applications For The Net With C...
PDF
I am starting up - How do I start coding? - Gautham Pai, an "Entrepreneur, Fo...
PDF
I AM STARTING UP - HOW DO I START CODING?
PPTX
Software Development Fundamentals 1
DOCX
Net Development
PDF
How To Become A Good C# Programmer
PPTX
Programming languages asp.net
PPTX
Powerful software linkedin
PPTX
Yenikod Yazılım Kursu - Kodlama Öğrenebilir Miyim? Kodlama Bana Göre Mi?
PDF
Microsoft Visual C# Step by Step 10th Edition John Sharp
[Development Simply Put] How To Reconstruct String Sections From Concatenated...
Smart Housekeeping Apps
DEVELOPER SKILLS.pdf
From Journeyman to Master
Microsoft Visual C Step By Step Ninth Edition John Sharp
The Hairball of Content - Lightning Version
Design Simple but Powerful application
Web API Basics
Hungry minds, inc csharp complus programming
Programming C 40 Building Windows Web And Ria Applications For The Net With C...
I am starting up - How do I start coding? - Gautham Pai, an "Entrepreneur, Fo...
I AM STARTING UP - HOW DO I START CODING?
Software Development Fundamentals 1
Net Development
How To Become A Good C# Programmer
Programming languages asp.net
Powerful software linkedin
Yenikod Yazılım Kursu - Kodlama Öğrenebilir Miyim? Kodlama Bana Göre Mi?
Microsoft Visual C# Step by Step 10th Edition John Sharp

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
cuic standard and advanced reporting.pdf
PPTX
Machine Learning_overview_presentation.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Per capita expenditure prediction using model stacking based on satellite ima...
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation_ Review paper, used for researhc scholars
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
MIND Revenue Release Quarter 2 2025 Press Release
A comparative analysis of optical character recognition models for extracting...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
cuic standard and advanced reporting.pdf
Machine Learning_overview_presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Diabetes mellitus diagnosis method based random forest with bat algorithm

[Development Simply Put] 4 Ways To Send Parameters To A C# Method

  • 4. When writing & calling a C# method, you have some points to take into consideration regarding the method parameters. This article is explaining the main alternatives you have to do so with some examples. [Development Simply Put] 4 Ways To Send Parameters To A C# Method "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 6. I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career days and day after day I got more confident that it's all about sharing not the title you have. I believe that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills and I found that the best way to learn is to try to teach what you already know. This makes you think of the best simplest way to explain complex logic which makes you spot some points may be even yourself didn't recognize in the first time. The greatest thing in the human mind is that it carries out too complicated operations and finally presents it into a simple form, so why do we always try to re-complicate things? This is what encouraged me to start my blog -Development Simply Put (http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT development and share my humble knowledge in this field. Why? "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 7. Blog Link: http://developmentsimplyput.blogspot.com Facebook Page: https://www.facebook.com/DevelopmentSimplyPut Google+ Page: https://plus.google.com/115238148611061640682 LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295 RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default Android RSS App: http://www.appsgeyser.com/336849 Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356 Random Post: http://developmentsimplyput.blogspot.com/?random Links "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 8. 1. Comment & provide feedback (liked, hated, good, bad, missing, ......) 2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-Put- Blog-Survey) 3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356) 4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss) 5. Share blog links 6. Invite friends whom you think will be interested Want To Offer Help? "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 9. My Resume: LinkedIn: http://www.linkedin.com/in/atarekhasan Yatedo: http://www.yatedo.com/atarekhasan Zerply: http://zerply.com/ahmed-tarek-hasan/public Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan My Social Accounts: Facebook: https://www.facebook.com/ahmed.t.hasan Google+: https://plus.google.com/u/0/117461717174836938716 Twitter: https://twitter.com/AhmedTarekHasa1 StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes Pinterest: http://pinterest.com/ahmedtarekhasan About Me "If you can't explain it simply, you don't understand it well enough" -Albert Einstein