Check out example codes for "how to make a class implicitly convertible C#". It will help you in understanding the concepts better.

Code Example 1

public class ExampleClass
{
	private static int storedInt = 10;
  	
  	public int Integer
    {
    	get => storedInt;
      	set => storedInt = value;
    }
  		
  	public ExampleClass(int storedNumber)
    {
    	storedInt = storedNumber;
    }
  	
  	public static implicit operator ExampleClass(int value)
    {
    	ExampleClass x = new ExampleClass(value);
      	x.Integer = value;
      	return x;
    }
}

Learn ReactJs, React Native from akashmittal.com