Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
C#
2022-02-05 02:25:28
how to get all files from folder and subfolders in c#
private IEnumerable<string> GetAllFiles(string path, string searchPattern) { return Directory.EnumerateFiles(path, searchPattern).Union( Directory.EnumerateDirectories(path).SelectMany(d => { ...
Add solution
C#
2022-01-22 06:46:44
c# null conditional
//the null coalescing operator for c# is ?? int? x = null; int y = 9; return x ?? y; //Will return the value of x if x is not null else return y
Add solution
C#
2021-11-21 20:18:25
font dialog c# code
//For C# Application form FontDialog fontName = new FontDialog(); fontName.ShowDialog(); textBoxName.BackColor = fontName.Color;
Add solution
C#
2021-11-19 20:49:17
c# null coalescing operator
//the null coalescing operator for c# is ?? int? x = null; int y = 9; return x ?? y; //Will return the value of x if x is not null else return y
Add solution
C#
2021-11-06 15:24:14
using arrow keys for c#
arrow keys for c#
Add solution
Other
2021-11-01 14:28:07
shortcut for formatting code in visual studio
//Ctrl+K, Ctrl+D //for c# scheme: Ctrl+E, Ctrl+D
Add solution
Javascript
2021-10-27 06:36:17
razor list to js array
<script> var myArray = []; @foreach (var d in Model.data) { // Using the @: operator //we can use javascript variables in razor C# @:myArray.push("@d"); } </script>
Add solution
Other
2021-10-22 08:34:18
how to autocomplete for loop vs
(woring 2020 for C# and others prob) Step 1)type "for" Step 2)press 'TAB' twice in quick sucsession Step 3)Your done! just change the values and ur good to go hope this helps :)
Add solution
C#
2021-09-14 04:55:02
list of colours in unity C#
// List Of Unity Colour/Color Values (Used for C# Scripting) public class HueColour { public enum HueColorNames{ Lime, Green, Aqua, Blue, Navy, Purple, Pink, Red, Ora...
Add solution
Best helpers
daily
weekly
monthly
for 3 months
John Gotti
+5
Rookie
+5
Jagoda Tajchert
+5
Jeffrywith1e
+5
show more
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.