15,991,108 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Benjamin Nguyễn Đạt (Top 12 by date)
Benjamin Nguyễn Đạt
22-Jun-14 23:31pm
View
Thank you Jafarinejadvazifehkhorani!
So that in addition to get acquainted with the Windows Workflow Rule Engine, I must get to know Windows Workflow Foundation (WF) first. Is that right?
Thank you for your time! :)
Benjamin Nguyễn Đạt
6-May-14 2:45am
View
Hi SA, sorry you that my English not quite good to get all your points.
The Global.A and Local.A, they define the same properties ( e.g Name, Age ).
First, I decided to write a generic method as also described above, but then I realized that it would be impossible for the T to derived from both Local.A & Global.A.
So, I went with the overload solution.
My question is :
- Is there any way for the T to derive from more than one class in the generic method?
Once you give me the answer yes or no, I could solve it myself.
Thanks for your consideration.
Benjamin Nguyễn Đạt
6-May-14 2:17am
View
Yes they're both class.
Benjamin Nguyễn Đạt
6-May-14 1:08am
View
Thanks for your consideration. My purpose here is just want to write a common method to use with both of two Type ( Local.A , Global.A these 2 classes have exactly the same properties ). This method will get the data on the LOCAL or GLOBAL depends on your passed in params. I'm working with NHibernate.
Benjamin Nguyễn Đạt
25-Mar-14 6:03am
View
Thank you for your time! I can't thank you enough. cheer! :)
Benjamin Nguyễn Đạt
25-Mar-14 5:27am
View
Oops...Thanks for correcting !
I know that extension method helps you to extend sealed class,dll..
But I do not see the differences between them. Why do I have to create an extension method when I could just create a static class
Benjamin Nguyễn Đạt
25-Mar-14 4:46am
View
Yeah! That's right! It's just my bad knowledge on the Inheritance and Polymorphism
Benjamin Nguyễn Đạt
24-Mar-14 4:10am
View
Hi Raul! I know that what virtual and override is in OOP. I wonder if the interviewer was right or wrong because he did not provide these keyword in his question.
Benjamin Nguyễn Đạt
24-Mar-14 4:06am
View
But the interviewer asked me exactly what i typed in the question. there was no virtual keyword in the base's method. Did he right or wrong when asked me this kind of question?
Benjamin Nguyễn Đạt
23-Mar-14 10:16am
View
Hi Raul,
When the objA.Print() is called, it produces the "Hello From A".
I want the line "Hello From C" to be produced instead. :).
Benjamin Nguyễn Đạt
21-Jan-14 1:41am
View
hi there ! You're rock ! thanks for that!
Benjamin Nguyễn Đạt
21-Jan-14 1:40am
View
you could always know the array's length by its property array.Length
Show More