Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Partial classes under same namespace
MSU
Aug 11 2017 2:59 AM
162
Reply
Can someone please help me here as i am doing following things for this.
I have total two assemblies in my project named as "PracticeTest" and "ClassLibrary3" .
PracticeTest assembly has namespace "PracticeTest" and the very same namespace has been used in another assembly"ClassLibrary3".
I have a class "Test" under the namespace "PracticeTest" of first assembly"" and need to have another definition of this class "Test" in other assembly "ClassLibrary3" but using the same namespace.
I have used partial key word as " public partial class Test" for both of them.
Also have done "Add reference" process for my current assembly"PracticeTest" which is executable assembly.
But I am unable to use another definition of this class and getting a warning message like below
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Get value of checked item from datagridview
Convert string List data to json format