{\n   function add(uint a, uint b) pure public returns(uint) {\n       return a + b;\n   }\n}', metadata={})]C#‚ÄãHere's an example using the C# text splitter:using System;class Program{    static void Main()    {        int age = 30; // Change the age value as needed        // Categorize the age without any console output        if (age < 18)        {            // Age is under 18        }        else if (age >= 18 && age < 65)        {            // Age is an adult        }        else        {            // Age is a senior citizen        }    }}    [Document(page_content='using System;', metadata={}),     Document(page_content='class Program\n{', metadata={}),     Document(page_content='static void', metadata={}),     Document(page_content='Main()', metadata={}),     Document(page_content='{', metadata={}),     Document(page_content='int age', metadata={}),     Document(page_content='= 30; // Change', metadata={}),     Document(page_content='the age value', metadata={}),     Document(page_content='as needed', metadata={}),     Document(page_content='//', metadata={}),     Document(page_content='Categorize the', metadata={}),     Document(page_content='age without any', metadata={}),     Document(page_content='console output', metadata={}),     Document(page_content='if (age', metadata={}),     Document(page_content='< 18)', metadata={}),     Document(page_content='{', metadata={}),     Document(page_content='//', metadata={}),     Document(page_content='Age is under 18', metadata={}),     Document(page_content='}', metadata={}),     Document(page_content='else if', metadata={}),     Document(page_content='(age >= 18 &&', metadata={}),     Document(page_content='age < 65)', metadata={}),     Document(page_content='{', metadata={}),     Document(page_content='//', metadata={}),     Document(page_content='Age is an adult', metadata={}),     Document(page_content='}', metadata={}),     Document(page_content='else', metadata={}),     Document(page_content='{',
CodeTextSplitter allows you to split your code with multiple languages supported. Import enum Language and specify the language.
CodeTextSplitter allows you to split your code with multiple languages supported. Import enum Language and specify the language. ->: {\n   function add(uint a, uint b) pure public returns(uint) {\n       return a + b;\n   }\n}', metadata={})]C#‚ÄãHere's an example using the C# text splitter:using System;class Program{    static void Main()    {        int age = 30; // Change the age value as needed        // Categorize the age without any console output        if (age < 18)        {            // Age is under 18        }        else if (age >= 18 && age < 65)        {            // Age is an adult        }        else        {            // Age is a senior citizen        }    }}    [Document(page_content='using System;', metadata={}),     Document(page_content='class Program\n{', metadata={}),     Document(page_content='static void', metadata={}),     Document(page_content='Main()', metadata={}),     Document(page_content='{', metadata={}),     Document(page_content='int age', metadata={}),     Document(page_content='= 30; // Change', metadata={}),     Document(page_content='the age value', metadata={}),     Document(page_content='as needed', metadata={}),     Document(page_content='//', metadata={}),     Document(page_content='Categorize the', metadata={}),     Document(page_content='age without any', metadata={}),     Document(page_content='console output', metadata={}),     Document(page_content='if (age', metadata={}),     Document(page_content='< 18)', metadata={}),     Document(page_content='{', metadata={}),     Document(page_content='//', metadata={}),     Document(page_content='Age is under 18', metadata={}),     Document(page_content='}', metadata={}),     Document(page_content='else if', metadata={}),     Document(page_content='(age >= 18 &&', metadata={}),     Document(page_content='age < 65)', metadata={}),     Document(page_content='{', metadata={}),     Document(page_content='//', metadata={}),     Document(page_content='Age is an adult', metadata={}),     Document(page_content='}', metadata={}),     Document(page_content='else', metadata={}),     Document(page_content='{',