I'm trying to implement XConnect in a Sitecore context and using the code snippet

` using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())
 {   }`

Here,


> Error    CS0234    The type or namespace name 'Configuration' does not
> exist in the namespace 'Sitecore.XConnect.Client' (are you missing an
> assembly reference?)

I have added Sitecore.xConnect and Sitecore.xConnect.Client into the references as well as in the name space. But Still the issue is not resolved and getting this error. I have added these dll's through nuget package manager.
Any idea on this issue or I'm missing something??

Refering this [Sitecore doc website][1] 


  [1]: https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/get-client-in-sitecore.html