What do you want to save?
Add Code snippet
New code examples
-
C# 2022-01-29 23:16:12
use try catch in coroutine unity
using System; using System.Collections; using UnityEngine; /// <summary> /// Utility functions to handle exceptions thrown from coroutine and iterator functions /// http://JacksonDunstan.com/articles/3718 /// </summary> public st... Add solution -
Other 2022-01-27 22:15:40
flutter tab bar bottom bar
int _selectedIndex = 0; static const TextStyle optionStyle = TextStyle(fontSize: 30, fontWeight: FontWeight.bold); static const List<Widget> _widgetOptions = <Widget>[ Text( 'Index 0: Home', style: optionStyle, ), Text( 'Inde... Add solution -
Java 2022-01-27 19:11:47
java fast input
// this program gives you fast input, especially for competitive programming import java.util.*; import java.io.*; public class PutYourClassNameHere { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static StringTokeniz... Add solution -
Javascript 2022-01-27 01:16:08
swap nodes algo hackerrank solution
import java.io.*; import java.math.*; import java.text.*; import java.util.*; import java.util.regex.*; public class Solution { /* * Complete the swapNodes function below. */ static class Node { int index; int depth; ... Add solution -
Other 2022-01-23 05:01:28
readwritelock example
import java.util.concurrent.locks.ReentrantReadWriteLock; public class TestThread { private static final ReentrantReadWriteLock lock = new ReentrantReadWriteLock(true); private static String message = "a"; public static void main(Stri... Add solution -
C# 2022-01-23 00:11:35
c# postfix increment operator overload
public static Counter operator ++(Counter c) { return new Counter(c.v + 1); } // In C# the increment operator must not mutate its argument. Rather it must only compute the incremented value and return it, without producing any side effects. The side eff... Add solution -
C# 2022-01-22 22:41:00
get name of variable c#
//Pre C# 6.0 solution //You can use this to get a name of any provided member: public static class MemberInfoGetting { public static string GetMemberName<T>(Expression<Func<T>> memberExpression) { MemberExpression expres... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5