Skip to content

Instantly share code, notes, and snippets.

View hexbinoct's full-sized avatar

user77 hexbinoct

  • Pakistan
View GitHub Profile
@hexbinoct
hexbinoct / renaming file names and stuff
Created January 9, 2018 06:29
renaming file names
//code for renaming (padding) 5 parts file names:
static void Main(string[] args)
{
//list_none_5_parts(); return;
/* where ever this is , we have lots of files here, in the format
10-001-99-001, the 3rd section, which is 99, can have any number there
but whats imp is that it shud be composed of 3 digit length*/
string[] files = Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory);
@hexbinoct
hexbinoct / abcd.cs
Last active November 4, 2016 10:36
class mainstructure
{
public List<c2> results;
public string status;
}
class c2
{
public List<address_component> address_components;
public string formatted_address;