S
Shreyas Ranade
I want to pass an Object Reference to a C# function, but also I want to make
sure that the calling function should not change it's value.
The C++ Code Like
MyClass cls;
Fun1(cls)
void Fun1(const MyClass & cls)
{
int a = cls.m_No;
}
I want to write same code in C#. How should I write because
you can not send Cont Object Reference to a function in C#.
sure that the calling function should not change it's value.
The C++ Code Like
MyClass cls;
Fun1(cls)
void Fun1(const MyClass & cls)
{
int a = cls.m_No;
}
I want to write same code in C#. How should I write because
you can not send Cont Object Reference to a function in C#.