Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~726 People Reached
Favorite Forums
Member Avatar for gemini88

Hi all experts ... I have a question .... How can i call a function of Class A from Class B without creating any objects,static menthds or using any inheritance.. like if class A has a variable of classB then classB can call a method of class A.... explanatory code: …

Member Avatar for gemini88
0
540
Member Avatar for gemini88

class Program { static int localVariable = 0; static int PropertyOne { get { return localVariable; } } static void set_PropertyOne(int newValue) { localVariable = newValue; } static void Main(string[] args) { } } **Error: already defines a member called 'set_PropertyOne' with the same parameter type** please give me reason …

Member Avatar for gemini88
0
186