A Variable is declared as "Private" in one class in C#.
Can i access this same variable in other class which is derived by this?
For eg:
public class Teacher
{
private string Name="ABC";
}
Public class Student:Teacher
{
in this class can i access "Name" variable which was declared in Teacher Class?
}
User Profile
Collapse
-
Can i access Private member in derived class
-
Update table using triggers
My Table Structure is:
Table A Table B Table C
colA -PK Col B-PK Col C-PK
Col B-FK Col B-FK
Col C-FK
This relation establish a Concurrent relation where in Cascade Property fails.I can set Cascade property for any two tabnles...but not the third table.
My requirement...
No activity results to display
Show More