15,896,201 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 Python 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 BrianAtSyston (Top 5 by date)
BrianAtSyston
24-Dec-17 18:42pm
View
Ok Bruno Merry C# !!
BrianAtSyston
24-Dec-17 18:11pm
View
Thanks i will check this out and get back to you. Your use of bad language is not at all helpful and gives the impression just trolling.
I think this is Implicit Interface Implementation as they have the same Name 'SomeMethod'. I will do some checking in my C# Test Assembly. As for casting in VB, Casting is very good just add 'Option Strict On' and use all the casting tools TryCast DirectCast Ctype CInt CBol CChar CStr whatever you want I have never had a cast problem after setting 'Option Strict On'
Any way Merry C
Brian UK
BrianAtSyston
24-Dec-17 12:47pm
View
Sorry if i sounded insulting JustWatchLittle it is obviously a user Name with a real person behind it. The message i got from CodeProject looked like a standard copy and paste.
Still I'm convinced, it was not an article!
Sorry butt i obviously got things wrong but i see no wrong in explaining how i find Implementing Interfaces in VB is a better system than in C# and sent a very simple example of the use of the Implements keyword (C# has no Implements).
Can i ask you how do you can Implement Two Interface members with one method in C#?
Brian UK
BrianAtSyston
24-Dec-17 12:05pm
View
Yes i think in real world it makes no difference to the end user what the code was written in only whether it works correctly without error.
Ok how do you get a class member to implement 2 Interface members in 'wonderful' C#
Like
Public Function CompString(st1 As String, st2 As String) As Integer Implements Interface1.CompString, Interface2.CompString
'
Return String.Compare(st1, st2)
End Function
Can you send back a C# direct translation? No in C# you would need 2 or more separate methods. You can't have an Implements list in C#,in fact C# doesn't even have a keyword for it!
I could also mention that VB Select Case can do a lot more than C# switch and (doesn't need a break; at the end of each case!).
Why is c# so good?
Brian UK.
BrianAtSyston
24-Dec-17 11:27am
View
Many Thanks for your reply. This site is a bit of a jungle to navigate.
Merry C
Brian UK.