Check out example codes for "c# return default "" if null". It will help you in understanding the concepts better.

Code Example 1

var test = value == null ? "" : value

Learn ReactJs, React Native from akashmittal.com