I have been looking at tutorials in regards to isNullOrWhiteSpace to validate user input of a string.
but i am unsure how to initialise the method. This is just a code snippet and all i am trying to do is place this in a loop to ensure if user presses enter it cannot skip to the next entry. Can anyone point me in the direction for some good info for someone new to c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace PracticalTest5
{
class Program
{
public static void Main(string[] args)
{
{
string movie_title = "";
{
Console.Write("Movie Title : ");
movie_title = Convert.ToString(Console.ReadLine());
}