Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Partial classes under same namespace
MSU
7 years ago
175
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
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Get value of checked item from datagridview
Convert string List data to json format