Program
Output
Sheik
9
Selected
Somu
5
Not Selected
using System;
namespace ClassRoomSamples
{
class Demo13Structures1
{
struct trainee
{
public string
traineeName;
public int score;
public string result;
};
static void Main(string[] args)
{
//Individual
structure variables
trainee t1, t2;
t1.traineeName = "Sheik";
t1.score = 9;
t1.result = "Selected";
t2.traineeName = "Somu";
t2.score = 5;
t2.result = "Not Selected";
Console.WriteLine(t1.traineeName);
Console.WriteLine(t1.score);
Console.WriteLine(t1.result);
Console.WriteLine(t2.traineeName);
Console.WriteLine(t2.score);
Console.WriteLine(t2.result);
Console.ReadKey();
}
}
}
Sheik
9
Selected
Somu
5
Not Selected
ASP.NET Core Web API is a modern framework developed by Microsoft for building fast, secure, and scalable web APIs. It enables developers to create RESTful services that allow web applications, mobile applications, and other software systems to communicate with backend services using HTTP methods such as GET, POST, PUT, and DELETE. It supports C# and integrates with the .NET ecosystem for efficient application development.
ReplyDeleteASP.NET Core Web API is widely used for developing business applications, e-commerce platforms, mobile app backends, cloud services, and microservices. ASP.NET Core Next.JS Full Stack Developer Course
ReplyDeleteDevelopers can work with features such as routing, middleware, dependency injection, authentication, authorization, data validation, and database connectivity. Learning ASP.NET Core Web API helps developers build reliable and maintainable backend services for modern applications.