What do you want to save?
Add Code snippet
New code examples
-
C# 2021-10-13 08:45:04
how to get an element of hashtable in c#
//creating a Hashtable using collection-initializer syntax var cities = new Hashtable(){ {"UK", "London, Manchester, Birmingham"}, {"USA", "Chicago, New York, Washington"}, {"India", "Mumbai, New D... Add solution -
Other 2021-10-10 03:40:07
Unity Photon not able to connect with custom Room
RoomOptions roomOps = new RoomOptions() { IsVisible = true, IsOpen = true, MaxPlayers = (byte)roomSize, CustomRoomProperties = new ExitGames.Client.Photon.Hashtable() { { "Bet", bet } }, CustomRoomPropertiesForLobby ... Add solution -
Other 2021-10-05 03:28:07
when to use set
When to use List, Set and Map? If we need to access elements frequently by using index, then List is a way to go ArrayList provides faster access if we know index. If we want to store elements and want them to maintain an order, then go for List again. ... Add solution -
Java 2021-09-26 17:59:03
search engine using java example
import java.util.*; import java.io.*; public class SearchEngine{ public static void main(String[] args){ Hashtable<String, ArrayList<String> > ht = new Hashtable<String, ArrayList<String> >(); Scanner kb = new Scanner(System.... Add solution