0

E.g.: I wrote a wrapper for the DataTime.Now function called ServerTime.Now where I set a div to the Time of the SQL Server the App is connected to during Startup.

Now I would like to "hide" the DateTime.Now function somehow to make sure no developer is using it any more in his code. Is there a way to do this in C# (and if not is it possible with Resharper or any other tool)?

Patrick Hofman
  • 153,850
  • 22
  • 249
  • 325
Markus
  • 2,184
  • 2
  • 22
  • 32

1 Answers1

-2

Is there a way to do this in C#

no

with Resharper or any other tool

no

Thomas Woelfer
  • 533
  • 5
  • 21