Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Simple Regex Example
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { Regex regex = new Regex(@"(localhost|direct|cpc|google)"); Match match = regex.Match("direct"); if (match.Success) { Console.WriteLine(match.Value); } else { Console.WriteLine("Is no x"); } } } }
run
|
edit
|
history
|
help
0
useful
FromBibleC#(OOP)
Chest Interaction Unity
Creating arrays
linked list (add to end and beginning, and looking for cycles based on Floyd's algorithm)
Derived static
file hasher
C# - a method that accepts an indefinite number of parameters
Nuzrath 284
swapping