Inspired by this SO question :
Why doesn't C # have a keyword for a non-virtual call?
EDIT: I mean "why is there no keyword for non-virtual IL calls, given that the C # compiler always uses virtual IL calls by default"?
This may explain this: http://blogs.msdn.com/b/ericgu/archive/2008/07/02/why-does-c-always-use-callvirt.aspx
: call null this ( ++). , # callvirt , , null NullReferenceException
call
null
this
callvirt
NullReferenceException
# ?
. . , Java, . . , . , . .. . : " , , , - ". , , , : " , ".- , promises , . , , x y. API, , , , x y . , , ., API, . OS API, . , API, promises. promises, , - .
. . , Java, . . , . , . .
. . : " , , , - ". , , , : " , ".
- , promises , . , , x y. API, , , , x y . , , .
, API, . OS API, . , API, promises. promises, , - .
: http://www.artima.com/intv/nonvirtual.html
Source: https://habr.com/ru/post/1757468/More articles:XML and Python: get namespaces declared in root element - pythonHtml call in java? - javaHow to get rid of error messages using PHP imap_fetchstructure ()? - phpSetting up internal foswiki (only authorized can view / edit) - .htaccessCould not find an error in this C - c programVisual Studio 2010 SDK Scanning Source Files in a Project - c #Qt Signal Inheritance? - qtHow to show this splash screen in 3 seconds? - delphiNested and combined conditions - performanceSkip jquery loop to repeat until animation callback completes? - javascriptAll Articles