Resources.Load problem with C#

Hi, i am using the code below with visual studion and get allways an error.
Error: Texture2D is a type but is used like a variable.

using UnityEngine;
using System.Collections;

public class Test : MonoBehaviour {

    private Texture2D txt;

	// Use this for initialization
	void Start () {
        txt = Resources.Load("Bild1", Texture2D); 
	}
	
	// Update is called once per frame
	void Update () {
	
	}

I read the unity documentation to Resources.Load but it did not help me.

Maybe someone here has an idea.

You have to cast it into a texture, make that line look like

 txt = Resources.Load("Bild1") as Texture2D;