Skip to main content
Glama
Program.cs891 B
using System; namespace TestProject { class Program { static void Main(string[] args) { Console.WriteLine("Hello, World!"); var calculator = new Calculator(); int result = calculator.Add(5, 3); Console.WriteLine($"5 + 3 = {result}"); } } public class Calculator { public int Add(int a, int b) { return a + b; } public int Subtract(int a, int b) { return a - b; } public int Multiply(int a, int b) { return a * b; } public double Divide(int a, int b) { if (b == 0) { throw new DivideByZeroException("Cannot divide by zero"); } return (double)a / b; } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oraios/serena'

If you have feedback or need assistance with the MCP directory API, please join our Discord server