Talk:Comparison of C Sharp and Java: Difference between revisions

Content deleted Content added
NihlusBOT (talk | contribs)
rv test
 
(16 intermediate revisions by 11 users not shown)
Line 1:
{{WikiProject Java|importance=low|class=start|peer-review=yes}}
{{WikiProject Computing|class=start|auto=inherit}}
{{User:MiszaBot/config
|archiveheader = {{aan}}
Line 9 ⟶ 7:
|archive = Talk:Comparison of C Sharp and Java/Archive %(counter)d
}}
{{WikiProject banner shell|class=List|
{{User:WildBot/m04|sect={{User:WildBot/m03|1|Comparison of Java and C Sharp#Arbitrary size numbers|below|#Arbitrary size numbers}}, {{User:WildBot/m03|1|Comparison of Java and C Sharp#Enumerated types|Enumerated types|#Enumerated types}}, {{User:WildBot/m03|1|Comparison of Java and C Sharp#Event handling|event handling|#Event handling}}, {{User:WildBot/m03|1|Comparison of Java and C Sharp#Functional programming|Functional programming|#Functional programming}}, {{User:WildBot/m03|1|Comparison of Java and C Sharp#Nullable types|Lifted (nullable) types|#Nullable types}}, {{User:WildBot/m03|1|Comparison of Java and C Sharp#Runtime binding|Runtime (dynamic) binding|#Runtime binding}}, {{User:WildBot/m03|1|Comparison of Java and C Sharp#Runtime type information and -manipulation|Runtime type information and -manipulation|#Runtime type information and -manipulation}}, {{User:WildBot/m03|1|Comparison of Java and C Sharp#Tuples|Tuple|#Tuples}}|m04}}
{{WikiProject Java |importance=low|class=start|peer-review=yes}}
 
{{WikiProject Computing|class=start |auto=inherit}}
{{Archive box |search=yes |bot=MiszaBot I |age=3 |units=months |
}}
* [[Talk:Comparison of Java and C Sharp/Archive 1|Archive 1]] <small>(2005–2008)</small>
{{Archive box |search=yesArchives |bot=MiszaBotLowercase Isigmabot III |age=3 |units=months |}}
* [[/Archive 2|Archive 2]] <small>(2009–2011)</small>
{{Broken anchors|links=
* [[/Archive 3|Archive 3]] <small>(2012– )</small>
* <nowiki>[[Arbitrary-precision arithmetic#Arbitrary-precision software|software for arbitrary-precision arithmetic]]</nowiki> The anchor (#Arbitrary-precision software) [[Special:Diff/633704642|has been deleted]]. <!-- {"title":"Arbitrary-precision software","appear":{"revid":33896264,"parentid":33891953,"timestamp":"2006-01-04T22:34:11Z","removed_section_titles":["Uses","Software examples"],"added_section_titles":["Applications","Algorithms","Arbitrary-precision software"]},"disappear":{"revid":633704642,"parentid":632305701,"timestamp":"2014-11-13T19:24:31Z","removed_section_titles":["Arbitrary-precision software","Libraries","Stand-alone application software","Languages"],"added_section_titles":["Software libraries"]}} -->
}}
__TOC__
 
== Boxing/Unboxing ==
 
The following statement in the text seems inaccurate:
 
In C#, the primitive types are subtypes of the Object type.
 
The C# MSDN Reference Documentation from Microsoft says this about primitive types:
 
Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the CLR boxes a value type, it wraps the value inside a System.Object and stores it on the managed heap. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit. The concept of boxing and unboxing underlies the C# unified view of the type system in which a value of any type can be treated as an object.
 
Which is available at this link: https://msdn.microsoft.com/en-us/library/yz2be5wk.aspx <!-- Template:Unsigned IP --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/71.66.101.171|71.66.101.171]] ([[User talk:71.66.101.171|talk]]) 01:57, 10 August 2016 (UTC)</small> <!--Autosigned by SineBot-->
 
== External links modified ==
 
Hello fellow Wikipedians,
 
I have just added archive links to {{plural:2|one external link|2 external links}} on [[Comparison of C Sharp and Java]]. Please take a moment to review [https://en.wikipedia.org/w/index.php?diff=prev&oldid=707380242 my edit]. If necessary, add {{tlx|cbignore}} after the link to keep me from modifying it. Alternatively, you can add {{tlx|nobots|deny{{=}}InternetArchiveBot}} to keep me off the page altogether. I made the following changes:
*Added archive http://web.archive.org/web/20150225000431/http://msdn.microsoft.com/en-us/library/system.decimalv=vs.110.aspx to http://msdn.microsoft.com/en-us/library/system.decimalv=vs.110.aspx
*Added archive http://web.archive.org/web/20150225005431/http://msdn.microsoft.com/en-us/library/system.numerics.complexv=vs.110.aspx to http://msdn.microsoft.com/en-us/library/system.numerics.complexv=vs.110.aspx
 
When you have finished reviewing my changes, please set the ''checked'' parameter below to '''true''' or '''failed''' to let others know (documentation at {{tlx|Sourcecheck}}).
 
{{sourcecheck|checked=false}}
 
Cheers.—[[User:Cyberbot II|<sup style="color:green;font-family:Courier">cyberbot II</sup>]]<small><sub style="margin-left:-14.9ex;color:green;font-family:Comic Sans MS">[[User talk:Cyberbot II|<span style="color:green">Talk to my owner</span>]]:Online</sub></small> 14:54, 28 February 2016 (UTC)
 
== External links modified ==
 
Hello fellow Wikipedians,
 
I have just modified {{plural:3|one external link|3 external links}} on [[Comparison of C Sharp and Java]]. Please take a moment to review [https://en.wikipedia.org/w/index.php?diff=prev&oldid=748857904 my edit]. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit [[User:Cyberpower678/FaQs#InternetArchiveBot|this simple FaQ]] for additional information. I made the following changes:
*Added archive https://web.archive.org/web/20120627043929/http://java.sun.com/docs/white/delegates.html to http://java.sun.com/docs/white/delegates.html
*Corrected formatting/usage for http://www.25hoursaday.com/CsharpVsJava.html
*Corrected formatting/usage for http://csunwold.blogspot.co.at/2010/02/from-stackoverflow-im-looking-for-c.html
 
When you have finished reviewing my changes, please set the ''checked'' parameter below to '''true''' or '''failed''' to let others know (documentation at {{tlx|Sourcecheck}}).
 
{{sourcecheck|checked=false}}
 
Cheers.—[[User:InternetArchiveBot|'''<span style="color:darkgrey;font-family:monospace">InternetArchiveBot</span>''']] <span style="color:green;font-family:Rockwell">([[User talk:InternetArchiveBot|Report bug]])</span> 20:08, 10 November 2016 (UTC)
 
== External links modified ==
 
== Modules ==
Hello fellow Wikipedians,
 
A section is missing: what are the differences between java's packages and C#'s public/internal visibility keywords on namespace members (which end up correlating with the CLR's modules and assemblies). [[User:Bohan|Bohan]] ([[User talk:Bohan|talk]]) 12:21, 28 July 2018 (UTC)
I have just modified 13 external links on [[Comparison of C Sharp and Java]]. Please take a moment to review [https://en.wikipedia.org/w/index.php?diff=prev&oldid=795037483 my edit]. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit [[User:Cyberpower678/FaQs#InternetArchiveBot|this simple FaQ]] for additional information. I made the following changes:
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120708065042/http://cstruter.com/ to http://www.cstruter.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
*Added archive https://web.archive.org/web/20120919093308/http://25hoursaday.com/ to http://www.25hoursaday.com/
 
== Type inference / manifested ==
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
 
At least C# supports basic type inference support: https://stackoverflow.com/questions/479883/how-good-is-the-c-sharp-type-inference [[User:ShalokShalom|ShalokShalom]] ([[User talk:ShalokShalom|talk]])
{{sourcecheck|checked=false|needhelp=}}
 
== Comparing Stream API and LINQ ==
Cheers.—[[User:InternetArchiveBot|'''<span style="color:darkgrey;font-family:monospace">InternetArchiveBot</span>''']] <span style="color:green;font-family:Rockwell">([[User talk:InternetArchiveBot|Report bug]])</span> 16:15, 11 August 2017 (UTC)
WhichThere is availablea atparagraph thisfor link:LINQ https://msdnbut not for the Java Stream API.microsoft Comparing them would be more consistent with the rest of the article.com/en-us/library/yz2be5wk.aspx I might add this part in the future but don't have time right now <!-- Template:Unsigned IP --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/71141.6679.10134.17138|71141.6679.10134.17138]] ([[User talk:71141.6679.10134.17138#top|talk]]) 0123:5741, 1021 AugustJanuary 20162024 (UTC)</small> <!--Autosigned by SineBot-->