Jobs
Find Jobs
Post a Job
Companies
Find Companies
List your Company
Products
Dofactory .NET
#1 .NET Success Pack
Dofactory SQL
#1 SQL Success Pack
Dofactory JS
#1 JS Success Pack
Dofactory Bundle
The Complete Package
All Products
Product overview
Learning
Tutorials
Articles
Login
Sign up
0
Jobs
Companies
Products
About
Tutorials
Articles
Sign up
Login
SQL
SQL Tutorial
SQL Reference
Connection Strings
.NET
C# Design Patterns
C# Coding Standards
C# Code Examples
Visual Studio Shortcut Keys
HTML
HTML Tutorial
HTML Reference
CSS
CSS Tutorial
CSS Reference
JavaScript
JavaScript Tutorial
JavaScript Design Patterns
SQL
.NET
HTML
CSS
JavaScript
Select tutorial
×
Sql Tutorial
Sql Reference
Connection Strings
Select tutorial
×
C# Design Patterns
C# Coding Standards
C# Code Examples
Visual Studio Shortcut Keys
Select tutorial
×
HTML Tutorial
HTML Reference
Select tutorial
×
CSS Tutorial
CSS Reference
Select tutorial
×
JavaScript Tutorial
JavaScript Design Patterns
Code Examples
C#
Earn income
with your C# skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
Send Me Opportunities
By adding your name & email you agree to our
terms
,
privacy
and
cookie
policies.
C# Code Examples
1.
How to make an HTTP POST web request in C#
2.
How to create a random int number in C#
3.
How to add values to an array in C#
4.
How to iterate over a dictionary in C#
5.
How to convert a string to a byte array in C#
6.
How to get int value from enum in C#
7.
How to turn an object into a JSON string in C#
8.
AddTransient, AddScoped and AddSingleton Services. What are the differences?
9.
How to set the Authorization Header of HttpClient in C#
10.
What is a NullReferenceException and how to fix it in C#
11.
How to set the Content-Type header for an HttpClient request in C#
12.
How to get the index of the current iteration in a foreach loop in C#
13.
How to get a list item by index in C#
14.
What is the best way to assign the initial value to a C# auto-property
15.
How can I convert a string to an int in C#
16.
How to parse JSON with C#
17.
How to encode and decode a base64 string in C#
18.
How to create a C# Regex that accepts numbers only (0-9) and no characters
19.
What is a difference between parameter and argument in C#
20.
How to get a dictionary value by key in C#
21.
How to correct 'Metadata file .dll could not be found'
22.
How to correct 'Unable to resolve service for type while attempting to activate'
23.
How to sort a C# List<T> by a property in the object
24.
How to call an asynchronous method from a synchronous method in C#
25.
How to call a REST API from C#
26.
No connection could be made because the target machine actively refused it
27.
An existing connection was forcibly closed by the remote host in C#
Jack Poorte
Last updated on Sep 30, 2023
About Us
Our Story
Customers
Contact Us
FAQs
Forum
Login
Sign up
Sitemap
Pricing
Product Pricing
Bundle Pricing
Compare Editions
Jobs
Find Jobs
Jobs by Technology
Jobs by Role
Jobs by Location
Jobs by Company
Post a free Job
Companies
Find Companies
Companies by Technology
Companies by Location
List your Company
Products
Overview
Dofactory .NET
Dofactory SQL
Dofactory JS
Dofactory Bundle
Demos
Overview
Analytics App
Ecommerce App
SaaS App
CRM App
33-Day App Factory™
Learning
Overview
SQL Tutorial
SQL Reference
HTML Tutorial
HTML Reference
.NET Design Patterns
C# Coding Standards
JavaScript Tutorial
Connection Strings
Visual Studio Shortcuts
C# Code Examples
Articles
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms
Privacy
Cookies
Do Not Sell
Licensing
Made with
in Austin, Texas.
- vsn 44.0.0
© Data & Object Factory, LLC.