colon

What is the meaning of "..::." in C#?

I saw this signature on the ListView class: public ListView..::.ListViewItemCollection Items { get; } When I saw that, "What?!" I searched "dot dot colon colon dot" and "..::." on Google with no result. ...

VB.NET If Statement and the Colon

Here is an interesting piece of code that my fellow team members were just having a slightly heated discussion about... Dim fred As Integer If True Then fred = 5 : fred = 3 : fred = 6 Else fred = 4 : fred = 2 : fred = 1 After executing the above code snippet, what is the value of fred? Try not to cheat and debug the code. This ...

Using a colon (:) in a url with ASP.NET/IIS

I'm implementing a custom controller in ASP.NET MVC and really want to be able to use a colon in the urls, so that I can identify class/column names and their values, like so: http://mysite.com/user:chaiguy ...but apparently ASP.NET or IIS doesn't allow colons in urls. I did some digging and apparently it's considered a security issue,...

Inserting Colons into a list of Mac Addresses

I have over 500 MAC addresses and I'm trying to find a simple way to insert colons between every 2 characters. ...

Are colons allowed URIs?

I thought using colons in URIs was "illegal". Then I saw that vimeo.com is using URIs like http://www.vimeo.com/tag:sample. What do you feel about the usage of colons in URIs? How do I make my Apache server work with the "colon" syntax because now it's throwing the "Access forbidden!" error when there is a colon in the first segment o...

jquery custom selector with colon

I need a function to select all elements with a custom attribute, and take its name and value. for example: <input type="text" my:name="koni" my:age="20" my:city="New York" /> Note that my is always the same, but that behind not. in my function i then want to say: var attr = //here should be the attribute (attr, or attr2) and var ...

I'm following Qt Tutorials and got a simple question

If I want to create my own class MyWidget which inherits from QWidget Tutorial tells me to write constructor like this... MyWidget::MyWidget(QWidget *parent) : QWidget(parent){....} I'm wondering what is the role of : QWidget(parent) Does it mean explicit call for QWidget's constructor? ...

Using colon in html tag and handle its element in javascript

Hello, why my "myns:button" don't become red in IE 6 / 7 / 8 unlike in Firefox / Opera / Safari / Chrome ? <html> <head> <script type="text/javascript"> window.onload = function() { var tmp = document.getElementsByTagName('myns:button'); for (i = 0; i < tmp.length; i++) { ...

What does 'unsigned temp:3' means

Hi, I'm trying to map a C structure to Java using JNA. I came across something that I've never seen. The struct definition is as follow, struct op { unsigned op_type:9; //---> what does this means? unsigned op_opt:1; unsigned op_latefree:1; unsigned op_latefreed:1; unsigned op_attached:1; unsigned op_spa...

Colon in JSON string

Can I escape a colon : that is inside a JSON string? Currently this object/value set { pn: "MT46H128M16LFCK-5 IT:A", visible: false, url: "/$ws$/29/1/products/ProductDetails.html?product=products/dram/MT46H128M16LFCK-5 IT" } doesn't get read. I suspect it's due to the :A in the pn value. How do I escape it or otherwise grab it...

In C, what does a colon mean inside a declaration?

Possible Duplicate: What does unsigned temp:3 means I'm learning some kernel code, and came along the following line (in linux 2.4, sched.h, struct mm_struct): unsigned dumpable:1; What does this mean? ...

Use of the : operator in C

Possible Duplicates: What does : number after a struct field mean? What does unsigned temp:3 means Hello everyone, I hate to ask this type of question, but it's really bugging me, so I will ask: What is the function of the : operator in the code below? #include <stdio.h> struct microFields { unsigned int addr:9; unsig...

CSS in ID colon means

Hi, I have seen an HTML code like this for the ID tag, id="t1:c3" Can someone explain this to me? What is the purpose of the said colon(:) ? Thank you. ...

What is the purpose of colons within Redis keys.

Hey, I'm learning how to use Redis for a project of mine. One thing I haven't got my head around is what exactly the colons are used for in the names of keys. I have seen names of key such as these: users:bob color:blue item:bag Does the colon separate keys into categories and make finding the keys faster? If so can you use multiple...