Network.InitializeServer gives me an error saying network does not have a defenition for InitalizeServer

I have never done anything regarding networking and i am prety much lost, i followed a tutorial from unity cookie but for some odd reason when i use the following code it gives me an error despite being exactrly what i saw on the video AND being copied from the unity scripting reference.

using UnityEngine;
using System.Collections;

public class Network : MonoBehaviour {

	void launchServer() {
		Network.InitializeServer(32, 25000, useNat);

	void Update () {

as you can see this should not be at all complicated but i am completely lost, thank you all, any help is much apreciated.

It’s because you called your class Network which is conflicting with the build in class called Network. Call your class something else and it will work.