G GiJeet Dec 8, 2008 #1 is there a way using reflection to get the namespace of the current class? Just the namespace... TIA G
is there a way using reflection to get the namespace of the current class? Just the namespace... TIA G
N Nicholas Paldino [.NET/C# MVP] Dec 8, 2008 #2 GiJeet, Assuming you are doing this in an instance member, you could do this: this.GetType().Namespace
GiJeet, Assuming you are doing this in an instance member, you could do this: this.GetType().Namespace
I Ignacio Machin ( .NET/ C# MVP ) Dec 8, 2008 #3 is there a way using reflection to get the namespace of the current class? Just the namespace... TIA G Click to expand... this.GetType().Namespace
is there a way using reflection to get the namespace of the current class? Just the namespace... TIA G Click to expand... this.GetType().Namespace
G GiJeet Dec 9, 2008 #4 GiJeet, Assuming you are doing this in an instance member, you could do this: this.GetType().Namespace -- - Nicholas Paldino [.NET/C# MVP] - (e-mail address removed) is there a way using reflection to get the namespace of the current class? Just the namespace... Click to expand... TIA G- Hide quoted text - Click to expand... - Show quoted text - Click to expand... Thanks. tried to find it on google but couldn't.
GiJeet, Assuming you are doing this in an instance member, you could do this: this.GetType().Namespace -- - Nicholas Paldino [.NET/C# MVP] - (e-mail address removed) is there a way using reflection to get the namespace of the current class? Just the namespace... Click to expand... TIA G- Hide quoted text - Click to expand... - Show quoted text - Click to expand... Thanks. tried to find it on google but couldn't.