Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 29323

C# is a multi-paradigm, managed, garbage-collected, object-oriented programming language created by Microsoft in conjunction with the .NET platform. Use this tag for questions related to C#. In case a specific version of the framework is used, you could also include that tag; for instance .net-2.0.

2 votes
2 answers
8k views

Whitelist HTML tags Microsoft Sanitizer and custom Regex

I have the following code which I have written due to the fact the Microsoft's Sanitizer is now to aggressive. What I'm trying to do is as follows. Create a whitelist of HTML tags I want to keep Af …
George Phillipson's user avatar
4 votes
2 answers
2k views

Hashing passwords for a website

I have spent about 2 weeks reading about hashing passwords and website security. As there seems to be many different ways to achieve this, I'm a bit confused as to whether my code is secure. Can anyo …
George Phillipson's user avatar
8 votes
6 answers
10k views

Sorting a list of first names from a text file

I applied for a job as a C#/.NET Junior Developer, and had a test to do:: Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, b …
George Phillipson's user avatar
3 votes
1 answer
102 views

TravelAdvice class

I have never really had to use Json.net until now, so I'm very rusty at it. For that reason, I would appreciate it if someone could have a look over my code and let me know if the way I have done it i …
George Phillipson's user avatar