Which code segment should you add to the Web Part?
A. site.Features.Add(feature.Id);
B. site.WebApplication.WebService.Features.Add(feature.Id);
C. web.Features.Add(feature.Id);
D. web.Site.WebApplication.WebService.Features.Add(feature.Id);
Answer:A
Which code segment should you add to the Web Part?
A. site.Features.Add(feature.Id); B. site.WebApplication.WebService.Features.Add(feature.Id); C. web.Features.Add(feature.Id); D. web.Site.WebApplication.WebService.Features.Add(feature.Id);