why theres 2 different data types

Posted by Extra-Recording-7493@reddit | learnprogramming | View on Reddit | 28 comments

after a lot of confusion i found out storing data had 2 different types called value type and reference type (atleast in c#)

while i do understand them i have no idea why we need 2 different data types for storing data . like why not 1 or 3 or maybe 10 , whats so usefull about these 2 type that many programming languages use them consistently