Write programs in c# using conditional statements and loops: When a user writes a number in the textbox and clicks on any of the four buttons it generates various patterns (triangles, diamonds, and other patterns) with numbers and shows the output in the list box.