Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

nested dictionary c#

public Dictionary<string, Dictionary<string, string>> info =
    new Dictionary<string, Dictionary<string, string>>
    {
        {
            "Gen",
            new Dictionary<string, string>
            {
                {"name", "Genesis"},
                {"chapters", "50"},
                {"before", ""},
                {"after", "Exod"}
            }
        },
        {
            "Exod",
            new Dictionary<string, string>
            {
                {"name", "Exodus"},
                {"chapters", "40"},
                {"before", "Gen"},
                {"after", "Lev"}
            }
        }
    };
Comment

PREVIOUS NEXT
Code Example
Csharp :: httpwebrequest c# example 
Csharp :: c# consuming post rest service 
Csharp :: get last character of string c# 
Csharp :: inline creation dictionnary C# 
Csharp :: c# loop through list of objects 
Csharp :: switch case in c# with multiple values 
Csharp :: 2d rotation unity 
Csharp :: how to pass string value to enum in c# 
Csharp :: unity ui movement 
Csharp :: C# array of repeated value 
Csharp :: c# get list of all class fields 
Csharp :: c# sort array of objects 
Csharp :: unity gameobject.find 
Csharp :: CS0101 Unity Error Code 
Csharp :: c# convert double to int 
Csharp :: c# best tutorial 
Csharp :: count number of properties on an object C# 
Csharp :: remove items from one list in another c# 
Csharp :: datatable to array c# 
Csharp :: c# escape characters 
Csharp :: length of a string c# 
Csharp :: unity find gameobject with layer 
Csharp :: or in if statement c# 
Csharp :: how to restart flutter app programmatically 
Csharp :: long number multiplication 
Csharp :: c# windows forms open directory in explorer 
Csharp :: unity c# struct 
Csharp :: change scale of an object unity 
Csharp :: get unique array based on value in c# 
Csharp :: dotween sequence 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =