Hola,

i need to create an object which will be recognaized in all my fuction/methods
where i should create this object?

Thanks ahead

field in your class

class Kobi
{
string name;// will be accessed from all methods
}

Gracias

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.