What do you want to save?
Add Code snippet
New code examples
-
C# 2021-11-18 16:20:21
c# list of different objects
Or is there a better/different way to do this? If your objects descend from a common class, then you can store them in the same collection. In order to do anything useful with your objects without throwing away type safety, you'd need to implement the vi... Add solution -
Shell/Bash 2021-11-16 20:15:30
router interface down cisco
When configuring new interfaces on Cisco routers/firewalls ensure that after completing configuration that you turn the interface on with configure terminal interface *GigabitEthernet0/1* no shutdown end copy running-config startup-config Add solution -
Java 2021-11-16 11:55:21
string manipulation java
String newString = "Hello World"; Add solution -
Javascript 2021-11-16 09:18:38
how to shallow clone javascript class
class myClass { constructor() { this.str = "String"; //Defining a string this.number = 3; //Defining a number } } var classReference = new myClass(); //Making new instance of class var myObjectToCopy; function copyClass() { myObj... Add solution