textbox in xamarin forms

C#
// in C#

var MyEntry = new Entry { Text = "I am a TextBox/Entry" };

// or in the .xaml

<Entry Text="I am an Entry" />
Source

Also in C#: