paint-brush
How Generics Differ in Java and C# by@pathiknd
1,542 reads
1,542 reads

How Generics Differ in Java and C#

by Pathik Desai8mJanuary 11th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Java and C# implement Generics support very differently. Type Erasure method used in Java results in limitations on Generics usage compared to C#. C# compiler as well as the Runtime (CLR) understands Generics. That’s why C# is able to provide performance benefits and better support for run time operations.
featured image - How Generics Differ in Java and C#
Pathik Desai HackerNoon profile picture
Pathik Desai

Pathik Desai

@pathiknd

Software Developer

About @pathiknd
LEARN MORE ABOUT @PATHIKND'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item

STORY’S CREDIBILITY

Original Reporting

Original Reporting

This story contains new, firsthand information uncovered by the writer.

L O A D I N G
. . . comments & more!

About Author

Pathik Desai HackerNoon profile picture
Pathik Desai@pathiknd
Software Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite