Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


new and override filter_list
Author
Message
new and override #1
Hi all ,

could someone please explain me the difference between new and override keywords in c# , thank you Smile

Reply

RE: new and override #2
http://msdn.microsoft.com/en-us/library/ms173153.aspx

http://social.msdn.microsoft.com/Forums/...expressvcs

http://stackoverflow.com/questions/13991...s-override


Reply

RE: new and override #3
thank you verry much Smile

Reply

RE: new and override #4
prety much sure this is also the wrong forum
even though c# is also .net based but still there is a forum for it:
http://www.hackcommunity.com/Forum-C-C-O...er-C-based
Calling me stupid won't mind me it only shows your immaturity -<3

[Image: 120x240.gif]

Reply

RE: new and override #5
(01-05-2014, 02:55 PM)hellomen Wrote: prety much sure this is also the wrong forum
even though c# is also .net based but still there is a forum for it:
http://www.hackcommunity.com/Forum-C-C-O...er-C-based

No... C# is not meant for that forum at all period. It's .NET, and it's not based on C, it's not C++, and it's not Objective-C either. It was based on Java, but that doesn't mean it belongs in the Java forum either.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: new and override #6
(01-06-2014, 12:00 AM)ArkPhaze Wrote:
(01-05-2014, 02:55 PM)hellomen Wrote: prety much sure this is also the wrong forum
even though c# is also .net based but still there is a forum for it:
http://www.hackcommunity.com/Forum-C-C-O...er-C-based

No... C# is not meant for that forum at all period. It's .NET, and it's not based on C, it's not C++, and it's not Objective-C either. It was based on Java, but that doesn't mean it belongs in the Java forum either.

okay thanks for saying this.
Calling me stupid won't mind me it only shows your immaturity -<3

[Image: 120x240.gif]

Reply

RE: new and override #7
override does exactly this -> overrides the original
new just hides the original, but the original is still there, so be careful
double free()

Bitcoin Donations:
1FseigF4RPRwfDoa6XGFQmhGxmDc7Pya4r

Reply

RE: new and override #8
hmmm i don't think i understood this mate , but thanks for trying Smile) i hope i am not bothering you too much.

Reply

RE: new and override #9
override
=> http://msdn.microsoft.com/en-us/library/ebca9ah3.aspx

new
=> http://msdn.microsoft.com/en-us/library/435f1dw2.aspx

also have a look at this
=> http://msdn.microsoft.com/en-us/library/ms173153.aspx
=> http://blogs.msdn.com/b/csharpfaq/archiv...-code.aspx

you're welcome
double free()

Bitcoin Donations:
1FseigF4RPRwfDoa6XGFQmhGxmDc7Pya4r

Reply

RE: new and override #10
thaaank you once more Biggrin

Reply







Users browsing this thread: 2 Guest(s)