{Code Snippets}
Lab
Develop
Samples
Tutorials
Download
Support
Account
Lab
Develop
Samples
Tutorials
Download
Support
Account
Categories
Access
(
2
)
Ajax
(
4
)
ASP
(
3
)
ASP.NET
(
24
)
Assembly
(
1
)
Batch
(
1
)
C
(
1
)
C#
(
16
)
C++
(
10
)
CSS
(
7
)
Excel
(
1
)
HTML
(
1
)
Java
(
9
)
Javascript
(
5
)
jQuery
(
3
)
JSP
(
1
)
Linux
(
1
)
Matlab
(
1
)
Perl
(
4
)
PHP
(
22
)
PowerShell
(
1
)
Python
(
1
)
Ruby
(
1
)
Shell
(
1
)
SQL
(
7
)
VBScript
(
1
)
WordPress
(
2
)
XML
(
1
)
Tools
Hash Generator
Password Generator
HTML Color Generator
Code Snippets
» C#
16 code snippets posted in C#! Choose what you need and coding ;-)
C#
A simple example that allows you to read data from an array using C# and LINQ
A simple example that allows you to read data from an xml document using C# and LINQ
An example of how to use LINQ in C#
Calculate the difference between two dates in c #, to get the number of days
Calculate, using C#, the number of days that are missing at a fixed date
Develop a C# method to obtain a "Summary" of a long text, without cutting words
Example of how to filter the elements of an array with LINQ in C#, based on the criteria
Extracts the list of fonts available on your system, using C#
Generate random characters between A-Z with C#
Generate random number between a minimum value and a maximum value with C#
How to create LINQ queries to filter the elements of an array of objects
How to use Threads in C# to perform multiple operations simultaneously
Start the default browser to display a web page with C#
Use some string manipulation functions with C#
Use the StreamReader class to read a text file using C#
Use the StreamWriter class to write a text file using C#
The best
C#
recommended books:
Pro C# 5.0 and the .NET 4.5 Framework (Expert's Voice in .NET)
Professional C# 5.0 and .NET 4.5.1
C# 5.0 Pocket Reference: Instant Help for C# 5.0 Programmers
C# 5.0 Pocket Reference: Instant Help for C# 5.0 Programmers
Design Patterns in C# (English Edition)
Professional C# 2012 and .NET 4.5
Microsoft Visual C# 2013 Step by Step
Professional Refactoring in C# & Asp.net
Microsoft Visual C# 2010 Step by Step