This policy explains what information csharpexamples.com (“the site”, “we”) collects when you visit, how it is used and what choices you have. It applies to this website only.
Last updated: 25 November 2026
Summary
You can read every article on this site without creating an account or giving us any personal information. We collect personal data only when you choose to leave a comment or send a message through the contact form. The site shows advertising from Google AdSense, and Google and its partners use cookies to serve and measure those ads.
Advertising and cookies
This site uses Google AdSense to display ads. Google and other third-party vendors use cookies to serve ads based on your previous visits to this site and other websites. Google’s use of advertising cookies enables it and its partners to show you ads based on your visits to this and other sites on the internet.
- You can opt out of personalised advertising in Google’s Ads Settings.
- You can opt out of some third-party vendors’ use of cookies for personalised advertising at www.aboutads.info.
- Google explains how it uses information from sites that use its services at How Google uses information from sites or apps that use our services.
If you are in the European Economic Area, the United Kingdom or Switzerland, you will be asked for consent before personalised ads are shown. If you do not consent, Google may still show non-personalised ads, which use cookies for frequency capping, aggregated reporting and fraud prevention.
You can also block or delete cookies in your browser settings. The site works without cookies, although ads may then be less relevant to you.
Comments
When you leave a comment, we store the name, email address and website you enter, the comment text, your IP address and your browser’s user agent string. The email address is never published. Comments and this data are kept until the comment is deleted.
If you tick the option to save your details, your name, email and website are stored in a cookie on your device for one year so you do not have to enter them again.
Comments are checked for spam by Akismet, a service run by Automattic. The comment data listed above is sent to Akismet for this check. See the Automattic privacy policy.
Contact form
When you send a message through the contact page, the name, email address, subject and message you enter are delivered to us by email so we can reply. We do not use them for anything else and do not add you to any mailing list. Messages are also checked for spam by Akismet and by Zero Spam, a spam filter that runs on our own server.
Server logs and security
Like almost every website, our web server records basic information about each request, including the IP address, date and time, the page requested and the browser user agent. These logs are kept by our hosting provider for security and troubleshooting and are deleted on a rolling basis.
To protect the login page from password-guessing attacks, the site records the IP address of failed login attempts and may temporarily block an address after repeated failures.
Caching
Pages are cached by LiteSpeed Cache to make the site faster. Visitors who are not logged in do not receive any cookies from the cache. Logged-in administrators receive technical cookies that are needed to bypass the cache.
Embedded content and external links
Articles link to external sites such as Microsoft Learn, GitHub and NuGet. Those sites have their own privacy policies, which apply once you follow a link.
How long we keep data
- Comments and their metadata: until the comment is deleted.
- Contact form messages: in our mailbox for as long as needed to handle your request.
- Failed login records: for a limited period needed to block attacks.
Your rights
Depending on where you live, you may have the right to access the personal data we hold about you, to have it corrected or deleted, to object to or restrict its processing, and to receive a copy of it. To make a request, for example to have a comment and its data removed, use the contact page. We will respond within 30 days.
We do not sell personal data.
Children
This site is intended for software developers and is not directed at children under 13. We do not knowingly collect personal data from children.
Changes to this policy
If we change how we handle personal data, we will update this page and the date at the top.
Contact
Questions about this policy can be sent through the contact page.