public class AddClass(int x,int y)
{
public int Sum()
{
return x + y;
}
}
AddClass addClass = new AddClass(5,4);
int result = addClass.Sum();
//-----------------------------------------------------------------------
The in keyword in C# is used in several contexts:
Method Parameters (in modifier) – It allows passing arguments by reference but ensures they cannot be modified inside the method.
//==========================================
Global Using